File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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=_
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
Original file line number Diff line number Diff 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} ) ;
You can’t perform that action at this time.
0 commit comments