| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0c91750 commit c2fb8ea
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -74,11 +74,14 @@ All of PayPal's [HTML button variables](https://cms.paypal.com/us/cgi-bin/?cmd=_ | |||
| 74 | 74 | * `data-tax` Transaction-based tax override variable. | |
| 75 | 75 | * `data-size` For button images: `small` and `large` work. For QR codes enter the pixel length of the longest side. | |
| 76 | 76 | * `data-locale` The desired locale of the PayPal site. | |
| 77 | + * `data-callback` The IPN notify URL to be called on completion of the transaction. | ||
| 77 | 78 | ||
| 78 | 79 | ||
| 79 | 80 | ## Editable fields | |
| 80 | 81 | Creating editable fields is easy! Just add `-editable` to the name of your variable, e.g. `data-quantity-editable`, and an input field will magically appear for your users. | |
| 81 | 82 | ||
| 83 | + ## Callback notification | ||
| 84 | + On completion of a transaction you can get a payment notification ([IPN](https://www.x.com/developers/paypal/documentation-tools/ipn/integration-guide/IPNIntro)) on a callback URL you specify using the `data-callback` attribute. An [IPN simulator](https://developer.paypal.com/webapps/developer/applications/ipn_simulator) is available on the sandbox. | ||
| 82 | 85 | ||
| 83 | 86 | ## Localization | |
| 84 | 87 | * Changing the default language of a button can be done by setting the variable `data-lc` with the correct locale code, e.g. es_ES. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments