#dragon.frost
1 messages · Page 1 of 1 (latest)
here is the code
You are passing payment behavior as String
however you need to use PaymentBehavior. enums
Seems like PaymentBehavior is not exported, and I can't access PaymentBehavior on my code. Is there anything missing or do I need to be on a specific version?
Try using the Nodejs wrapper:
https://github.com/stripe/stripe-js
It has typescript support:
https://github.com/stripe/stripe-js#typescript-support
Sorry this did not help
What is the issue ?
I cant seen to import the PaymentBehavior enum on my code like you mentioned in your reply above