{"_id":"56d59086c8c687150071f0c2","initVersion":{"_id":"5524f5bbd919032b0057ac33","version":"4"},"tags":[],"__v":1,"project":"54eb3720df7add210007b257","user":{"_id":"54eb0de5f863c80d00705f29","username":"","name":"Ryan Hall"},"createdAt":"2016-03-01T12:52:22.302Z","changelog":[{"_id":"56d59086c8c687150071f0c5","update":"<headerbox /> tag to enable specific placement of PFI Header","type":"added"},{"_id":"56d59086c8c687150071f0c4","update":"PWID, TemplateID and TemplateName JS variables to Payment Page","type":"added"},{"_id":"56d59086c8c687150071f0c3","update":"data-buttonpadding attribute to support 10px button padding","type":"added"},{"_id":"56d6fa4fa9e4480b00efb85c","update":"","type":"added"}],"body":"Merchants are now able to place the PFI Headerbox in an 'embed' style on the Payment Page, so that non-PFI content may appear above the PFI Header, charge notification and purchase button. To view more details, please see the updated documentation [here](doc:first-click-events).\n\nPWID, TemplateID and TemplateName parameters are now available as global javascript parameters on the payment page. Merchants can now easily use these variables with on-page tracking scripts or for other uses. To view more details, please see the updated docs [here](doc:first-click-events). \n\nMerchants can now specify a 'data-buttonpadding=\"10\"' attribute in the purchase button HTML to enable support for a reduced padding of the purchase button under Payforit 5.2 rules. To view more details, see the updated docs [here](doc:purchase-button-area-configuration).","slug":"pfi-header-placement-on-page-js-variables","title":"PFI Header placement & on-page JS variables"}

PFI Header placement & on-page JS variables


Merchants are now able to place the PFI Headerbox in an 'embed' style on the Payment Page, so that non-PFI content may appear above the PFI Header, charge notification and purchase button. To view more details, please see the updated documentation [here](doc:first-click-events). PWID, TemplateID and TemplateName parameters are now available as global javascript parameters on the payment page. Merchants can now easily use these variables with on-page tracking scripts or for other uses. To view more details, please see the updated docs [here](doc:first-click-events). Merchants can now specify a 'data-buttonpadding="10"' attribute in the purchase button HTML to enable support for a reduced padding of the purchase button under Payforit 5.2 rules. To view more details, see the updated docs [here](doc:purchase-button-area-configuration).
added
<headerbox /> tag to enable specific placement of PFI Header
added
PWID, TemplateID and TemplateName JS variables to Payment Page
added
data-buttonpadding attribute to support 10px button padding