@paystack/inline-js 2.26.0-dev.6 → 2.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/inline.js +1 -2498
- package/es/inline.js +1 -2493
- package/lib/inline.js +1 -2495
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -386,6 +386,8 @@ This method mounts wallet payment buttons e.g Apple Pay, Google Pay on a provid
|
|
|
386
386
|
|
|
387
387
|
All General and Custom configuration options that are accepted by [PaystackPop.newTransaction](https://www.notion.so/Documentation-for-Paystack-Inline-d6e595c0277d413db73b9a0d81a9c16c)
|
|
388
388
|
|
|
389
|
+
`paymentRequest` automatically adds `card` to `channels` when `channels` includes `google_pay`, so you do not need to pass both. This overrides the `channels` note in `newTransaction`'s options. `newTransaction` and `checkout` do not do this, so with those methods `google_pay` must still be passed alongside `card`.
|
|
390
|
+
|
|
389
391
|
### Configuration Options
|
|
390
392
|
|
|
391
393
|
| Option | Required | Type | Description |
|
|
@@ -467,8 +469,7 @@ async function loadPaymentRequestButtons() {
|
|
|
467
469
|
email: 'testuser@paystack.com',
|
|
468
470
|
amount: 10000,
|
|
469
471
|
currency: "NGN",
|
|
470
|
-
|
|
471
|
-
channels: ["card", "apple_pay", "google_pay"],
|
|
472
|
+
channels: ["apple_pay", "google_pay"],
|
|
472
473
|
container: 'payment-request-buttons',
|
|
473
474
|
loadPaystackCheckoutButton: 'pay-button',
|
|
474
475
|
styles: {
|