capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
https://capacitor-community-stripe.netlify.app/
MIT License
192 stars 77 forks source link

ios: transform contact to JSON object instead of array to match type #356

Open karen1au opened 4 months ago

karen1au commented 4 months ago

Currently the listener on ApplePayEventsEnum.DidCreatePaymentMethod is receiving data.contact as an array, but the type should actually be ShippingContact

rdlabo commented 1 month ago

Thanks pull request. This pull request has that ApplePayEvents.DidCreatePaymentMethod.rawValue has breaking changes. and will not match requiredShippingContactFields. Being an array is not reasonable, but it makes implementation easier, so I will keep it that way.

If you have any input, please share.