File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
dist/doc/payments/apple-pay
src/doc/payments/apple-pay/payment-request Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ await paystackPop.paymentRequest({
77 currency: 'NGN', // Use NGN for Naira or USD for US Dollars
88 ref: 'YOUR_REFERENCE', // Replace with a reference you generated
99 container: 'paystack-apple-pay', // ID of div to mount payment button elements
10- loadPaystackCheckButton : 'paystack-other-channels', // ID of button to trigger opening Paystack checkout (optional)
10+ loadPaystackCheckoutButton : 'paystack-other-channels', // ID of button to trigger opening Paystack checkout (optional)
1111 style: {
1212 theme: 'dark', // 'light' or 'dark'
1313 applePay: {
@@ -31,6 +31,7 @@ await paystackPop.paymentRequest({
3131 onElementsMount(elements) { // { applePay: true } or null
3232
3333 }
34- });`
34+ });
35+ `
3536
3637export { js }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ await paystackPop.paymentRequest({
77 currency : 'NGN' , // Use NGN for Naira or USD for US Dollars
88 ref : 'YOUR_REFERENCE' , // Replace with a reference you generated
99 container : 'paystack-apple-pay' , // ID of div to mount payment button elements
10- loadPaystackCheckButton : 'paystack-other-channels' , // ID of button to trigger opening Paystack checkout (optional)
10+ loadPaystackCheckoutButton : 'paystack-other-channels' , // ID of button to trigger opening Paystack checkout (optional)
1111 style : {
1212 theme : 'dark' , // 'light' or 'dark'
1313 applePay : {
@@ -31,4 +31,4 @@ await paystackPop.paymentRequest({
3131 onElementsMount ( elements ) { // { applePay: true } or null
3232
3333 }
34- } ) ;
34+ } ) ;
You can’t perform that action at this time.
0 commit comments