We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a175ccf commit 25b1a76Copy full SHA for 25b1a76
app/components/paypal-button.js
@@ -22,9 +22,9 @@ export default Component.extend({
22
};
23
24
paypal.Button.render({
25
- commit: true,
26
-
27
- style: {
+ commit : true,
+ env : this.settings.paypalMode === 'sandbox' ? this.settings.paypalMode : 'production',
+ style : {
28
label : 'pay',
29
size : 'medium', // tiny, small, medium
30
color : 'gold', // orange, blue, silver
@@ -83,10 +83,9 @@ export default Component.extend({
83
}
84
85
86
- env : 'sandbox',
87
commit : true,
88
89
90
91
92
0 commit comments