Open ferenckv opened 1 week ago
Typescript types do not include typings to show saved payment methods in the checkout. Setting a customerAuthToken do not fails but only because its treated by typescript as an "extra" property but it's not included in the definition.
See 1 & 2
customerAuthToken
checkout.open
allowedPaymentMethods: ["saved_payment_methods"]
Types to be up to date to paddle-js implementation.
paddle-js
React
No response
What happened?
Typescript types do not include typings to show saved payment methods in the checkout. Setting a customerAuthToken do not fails but only because its treated by typescript as an "extra" property but it's not included in the definition.
See 1 & 2
Steps to reproduce
customerAuthToken
tocheckout.open
. Typescript does not complain. If you run it, it works.allowedPaymentMethods: ["saved_payment_methods"]
to checkout or global settings. Typescript complains. ...What did you expect to happen?
Types to be up to date to
paddle-js
implementation.How are you integrating?
React
Logs
No response