FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support for button only elements sans form · Chhabi/JavaScriptButtons@692de9e · GitHub

Repository navigation

Commit 692de9e

Browse files
Jeff Harrell
committed
Support for button only elements sans form
1 parent bbc53d2 commit 692de9e

5 files changed

Lines changed: 97 additions & 43 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ All of PayPal's [HTML button variables](https://developer.paypal.com/webapps/dev
7676
* `data-style` The style of the button. Can be set to `primary` (default) and `secondary`.
7777
* `data-locale` The desired locale of the PayPal site.
7878
* `data-callback` The IPN notify URL to be called on completion of the transaction.
79-
* `data-env` The PayPal environment to checkout in, e.g. `sandbox` (defaults to 'www')
79+
* `data-env` The PayPal environment to checkout in, e.g. `sandbox` (defaults to 'www').
80+
* `data-type` The type of button to render. `button` for a plain button (default), `form` to create a button with a PayPal Payments Standard HTML form, or `qr` to create a PayPal Payments Standard compatible QR code.
8081

8182

8283
## Editable fields
@@ -140,7 +141,7 @@ The JavaScript buttons have been tested and work in all modern browsers includin
140141
* Chrome
141142
* Safari
142143
* Firefox
143-
* Internet Explorer 7+.
144+
* Internet Explorer 8+.
144145

145146

146147
## Getting your Merchant ID

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL