Is there a reason why you cant use a credit card form for createTokenWithCardAsync?

#1

Your payment module is really messed up - I know you guys have been working hard but damn just setting it up is a mess of its own.

Is there a reason why you cant use a credit card form with createTokenWithCardAsync like you can with paymentRequestWithCardFormAsync?

Thank you

#2

From what I can see paymentRequestWithCardForm opens a native form (STPAddCardViewController on ios) which then sends back the same token you’d get from createTokenWithCardAsync. So to answer your question, the module doesn’t present a form in createTokenWithCardAsync because then it’d be doing the same as paymentRequestWithCardFormAsync.

I could be wrong but tho, I didn’t look at android.

Payments is a mess around the module. (which btw is open source, feel free to contribute).

:moyai: hope this helps

1 Like
#3

That helps a lot actually. Thank you

2 Likes
closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.