Skip to content

Commit b8b3236

Browse files
committed
Updating README and test cases
1 parent fae0f35 commit b8b3236

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ All of PayPal's [HTML button variables](https://cms.paypal.com/us/cgi-bin/?cmd=_
7575
* `data-size` For button images: `small` and `large` work. For QR codes enter the pixel length of the longest side.
7676
* `data-locale` The desired locale of the PayPal site.
7777
* `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')
7879

7980

8081
## Editable fields

test/spec/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ describe('Environments', function () {
9292
});
9393

9494
it('Should be a sandbox button', function () {
95-
sandbox.action.should.contain('//sandbox.');
95+
sandbox.action.should.include('//sandbox.');
9696
});
9797

9898
it('Should be a www button', function () {
99-
www.action.should.contain('//www.');
99+
www.action.should.include('//www.');
100100
});
101101

102102
});

0 commit comments

Comments
 (0)