Skip to content

Commit 0b36791

Browse files
Fix typo in init object for Apple Pay payment request
1 parent d305bd7 commit 0b36791

File tree

1 file changed

+2
-2
lines changed
  • src/doc/payments/apple-pay/payment-request

1 file changed

+2
-2
lines changed

src/doc/payments/apple-pay/payment-request/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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+
});

0 commit comments

Comments
 (0)