Custom checkout flow example #69
-
Hi, I've been trying to implement the exact same checkout flow that swell provides by default, but I'm stuck with the billing stage. With tokenize method the swell updates cart.billing with card details, but I also need to update the billing address obviously. If I try to create card tokens manually I'm not sure how I can get the data that the user enters into the card element from Stripe. So I'll be very grateful if anyone that has implemented the custom flow already gives me some ideas or suggestions on how I can resolve this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@vishalshah6153 I had implemented my own checkout flow as well. If you're referring to TLDR:
|
Beta Was this translation helpful? Give feedback.
@vishalshah6153 I had implemented my own checkout flow as well. If you're referring to
Direct Credit Card Tokenization
, maybe this would help.TLDR:
createToken
fuction by passing along your addressestoken
response to the cart