#kallola_best-practices

1 messages ¡ Page 1 of 1 (latest)

storm condorBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1240211464984199249

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

trim torrentBOT
tacit mauve
#

Hi
the guide you were sharing is a good start!

opal jay
#

Hi @tacit mauve ,
Thank you for the link. Is there a way we can simply convert the customers with source to payment method? By sharing the existing customer ID or token?

tacit mauve
#

For collecting new PaymentMethods you need to follow the first link in order to migrate your integration

opal jay
#

Unfortunately we do not store any card details rather fetch them based on the merchant selected.

tacit mauve
#

From where you fetch them ? using what Stripe API ?

opal jay
#

additionally we don't have access to the merchant stripe accounts except the keys. Yes, we use the SDK integration and fetch using the source API

tacit mauve
#

OK as you are migrating now, there is the old sources and the new sources that your integration will collect:

const paymentIntent = await stripe.paymentIntents.create({
  payment_method_types: ['card'],
  amount: 1099,
  currency: 'eur',
  customer: '{{CUSTOMER_ID}}',
  payment_method: '{{CARD_ID}}',
});
  • For the new/upcoming payments, you need to use the new integration flow/APIs
opal jay
#

Let me try it out

#

thank you

tacit mauve
#

Happy to help!