#Matteo Pelle-qs
1 messages ยท Page 1 of 1 (latest)
Hello Tarzan I had a problem in a Live mode
I have some payments successful but not created on commerce cloude
could you please elaborate on your setup?
most of the payments have in common a first refusal by the bank and subsequently correctly closed but without metadata
therefore commerce cloud has problems creating the order
has such a case ever happened to you?
I used the Link stripe integration for commerce cloud SFRA
Hey, taking over here. Can you share an example Stripe payment ID you're seeing issues with
pi_3LNWGRAO8J1FWGf90enbAd1Z
this customer try to confirm the payments 3 times
the first is wrong with a error by his bank
the second is correct but without metadata the we don't show the confirm of payment
the 3 he changed card and confirm the payment with metadata
Payment looks like it succeeded on initial confirmation to me
you have to see correlate payments
but all there are without metadata
order_id and site_id
Well you didn't pass those parameters when you created the Payment Intent: https://dashboard.stripe.com/logs/req_OgPZbWWlYG3Woa
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
but this is not the call where you pass the metadata this is the first one
POST /v1/payment_intents/payment_intent_id in this call you pass metadata
Well, you can pass metadata on creation too. But there's no subsequent API calls to update that Payment Intent
What could be the problem
We have no record of any attempt to update that Payment Intent, so you'd need to check your own code/logs to debug that
not all orders have this problem and in test environment I can't replicate it
I can't really help without some more context or code from your integratrion
As far as we're concerned, there's been no attempt to update that PI so we have no logs
the autorizhe function update the payment intent right?
I don't know what that means?
which front end function update the payment intents?
There's no front-end function to update the metadata. You'd use the server-side API: https://stripe.com/docs/api/payment_intents/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok it's not a promise
What's not a promise?