swellstores / swell-js

JS library for building storefronts and checkouts with Swell ecommerce.
https://swell.is
MIT License
138 stars 29 forks source link

fix: zip_check after creating stripe payment method #169

Closed awwit closed 5 months ago

awwit commented 5 months ago

Fixed getting zip_check after creating a payment method in stripe.

Added Stripe types to function arguments and return values.

It was investigated that we should not fix the behavior in swell-js to comply with co-badged cards: https://docs.stripe.com/co-badged-cards-compliance?type=custom-integration

These requirements apply to a specific list of countries. Therefore, users must determine for themselves what options they should pass for stripe elements.