You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`data-size` For button images: `small` and `large` work. For QR codes enter the pixel length of the longest side.
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.
78
+
75
79
76
80
## Editable fields
77
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.
78
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.
79
85
80
86
## Localization
81
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.
0 commit comments