#AlienSoft
1 messages · Page 1 of 1 (latest)
Can you share more details ? a PaymentIntent Id? and what description in the email are you referring to ?
pi_3N1oSBCjjBoJaavH0ZxcX0nI
Generally when a payment is made, we receive an email that a purchase has been made right. Generally, that would display the DESCRIPTION Field. But for the last 1-2 days we've been receiving emails with only the PaymentID rather than description field.
example on that payment ID you can see the description as the EMAIL and COUNTRY the payment is from.
that should also be in the EMAIL we receive to notify us of the payment from stripe.
But for the last 1-2 days we've been receiving emails with only the PaymentID rather than description field.
Is this a Stripe Email receipt, can you share a screenshot of the email please?
yh, the it's the STRIPE email you receive after a succesful payment.
Generally you would see the DESCRIPTION field where i've highlighted the red box.
This seems to be something from your end as we haven't touched any of the settings for months.
cos if you check the paymentINTER you'll see that the DESCRIPTION field has been updated fine.
So something to do with the STRIPE EMAIL generation, not reading the DESCRIPTION field when generating the email
-paymentINTER = paymentINTENT
Can you please share the email sender of that screenshot? What Integration/module are you using in order to integrate Stripe ?
Thanks for sharing it, checking...
Actually, when creating the PaymentIntent, there was no description set:
req_YjAejoN2ICjJhk
yh but it get's updated, before submission
Nope, when the PaymentIntent was confirmed the description wasn't updated yet, this is the confirm request Id:
req_a8al0ldY0CKtjC
The update description request was made just after req_Qp1uSFWNENQfUp
In order to avoid this, you should create the PaymentIntent with the description or update it before confirming the Payment
something strange here as I am updating it BEFORE submission.
$.get("../../buy/pay/update_intent.php", { intentId: cardButton.dataset.id, country: countryName, email1: email[0]})
.done(function() {
});
and that is before
stripe
.handleCardPayment
check the timestamp of both request
unless, the serverside didn't finish the request as quickly as it should and proceeded to handleCardPayment
Yeah this looks like a concurrency issue.
the $.get is async right?
how do i make it to wait untill it returns before continuing
so it's not async
I think you can call stripe.handleCardPayment inside done function of the $.get
this is just one option, you can check in Javascript Communities how you can handle this kind of concurrency case depending on your integration requirements...
👍