Posting a payment in swell without charging the payment method #183
-
I'm building a custom checkout that requires we use the Stripe "payment element" with the payment intents API to charge the customer directly. Since the charge is done directly with stripe, I want to POST a payment to swell, to show that the order has been paid. But the problem is that when I post the payment to swell, swell creates a new charge, so the customer is being charged twice. Once using the stripe paymentIntents API directly, then again what creating the payment using So is there a way to post payment for record keeping, without actually creating a charge? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There's 2 ways to work with payments currently:
Is there a reason you need to charge the customer outside of Swell instead of using the integration? |
Beta Was this translation helpful? Give feedback.
There's 2 ways to work with payments currently:
pi_
token to perform the charge for you. We also support other kinds of tokens for example.Is there a reason you need to charge the customer outside of Swell instead of using the integration?