Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions dist/doc/payments/apple-pay/payment-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ await paystackPop.paymentRequest({
currency: 'NGN', // Use NGN for Naira or USD for US Dollars
ref: 'YOUR_REFERENCE', // Replace with a reference you generated
container: 'paystack-apple-pay', // ID of div to mount payment button elements
loadPaystackCheckButton: 'paystack-other-channels', // ID of button to trigger opening Paystack checkout (optional)
loadPaystackCheckoutButton: 'paystack-other-channels', // ID of button to trigger opening Paystack checkout (optional)
style: {
theme: 'dark', // 'light' or 'dark'
applePay: {
Expand All @@ -31,6 +31,7 @@ await paystackPop.paymentRequest({
onElementsMount(elements) { // { applePay: true } or null

}
});`
});
`

export {js}
4 changes: 2 additions & 2 deletions src/doc/payments/apple-pay/payment-request/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ await paystackPop.paymentRequest({
currency: 'NGN', // Use NGN for Naira or USD for US Dollars
ref: 'YOUR_REFERENCE', // Replace with a reference you generated
container: 'paystack-apple-pay', // ID of div to mount payment button elements
loadPaystackCheckButton: 'paystack-other-channels', // ID of button to trigger opening Paystack checkout (optional)
loadPaystackCheckoutButton: 'paystack-other-channels', // ID of button to trigger opening Paystack checkout (optional)
style: {
theme: 'dark', // 'light' or 'dark'
applePay: {
Expand All @@ -31,4 +31,4 @@ await paystackPop.paymentRequest({
onElementsMount(elements) { // { applePay: true } or null

}
});
});