capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
186 stars 74 forks source link

Name param doesnts return from Stripe.createCardToken method #6

Closed san4ezgig closed 4 years ago

san4ezgig commented 4 years ago

Hello, i call method Stripe.createCardToken with current params image and card object returns without name param image

ihadeed commented 4 years ago

Stripe doesn't send that information back.

I would rather not manipulate any incoming data from their API. Maybe they aren't sending back that data since it contains PII.. no idea.

If you are sure that you want to re-use the "name" value for other purposes, you can just manually add the name to the object returned from the plugin.