| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fae0f35 commit b8b3236
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -75,6 +75,7 @@ All of PayPal's [HTML button variables](https://cms.paypal.com/us/cgi-bin/?cmd=_ | |||
| 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 | 77 | * `data-callback` The IPN notify URL to be called on completion of the transaction. | |
| 78 | + * `data-env` The PayPal environment to checkout in, e.g. `sandbox` (defaults to 'www') | ||
| 78 | 79 | ||
| 79 | 80 | ||
| 80 | 81 | ## Editable fields | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -92,11 +92,11 @@ describe('Environments', function () { | |||
| 92 | 92 | }); | |
| 93 | 93 | ||
| 94 | 94 | it('Should be a sandbox button', function () { | |
| 95 | - sandbox.action.should.contain('//sandbox.'); | ||
| 95 | + sandbox.action.should.include('//sandbox.'); | ||
| 96 | 96 | }); | |
| 97 | 97 | ||
| 98 | 98 | it('Should be a www button', function () { | |
| 99 | - www.action.should.contain('//www.'); | ||
| 99 | + www.action.should.include('//www.'); | ||
| 100 | 100 | }); | |
| 101 | 101 | ||
| 102 | 102 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments