#AlienSoft

1 messages · Page 1 of 1 (latest)

brisk garnetBOT
fierce sparrow
#

Can you share more details ? a PaymentIntent Id? and what description in the email are you referring to ?

shy sleet
#

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.

fierce sparrow
#

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?

shy sleet
#

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.

fierce sparrow
#

How are you integrating Stripe ?

#

What is the sender email of that email?

shy sleet
#

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

fierce sparrow
#

Can you please share the email sender of that screenshot? What Integration/module are you using in order to integrate Stripe ?

shy sleet
#

paymentFlow

fierce sparrow
#

Thanks for sharing it, checking...

#

Actually, when creating the PaymentIntent, there was no description set:
req_YjAejoN2ICjJhk

shy sleet
#

yh but it get's updated, before submission

fierce sparrow
#

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

shy sleet
#

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

fierce sparrow
#

check the timestamp of both request

shy sleet
#

unless, the serverside didn't finish the request as quickly as it should and proceeded to handleCardPayment

fierce sparrow
#

Yeah this looks like a concurrency issue.

shy sleet
#

the $.get is async right?

#

how do i make it to wait untill it returns before continuing

#

so it's not async

fierce sparrow
#

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...

shy sleet
#

👍