Shopping Cart Operations > Support

Stripe not receiving OrderID

(1/2) > >>

RCodiaDavid:
Hi,

We recently updated to 1.3.0 and then got the Stripe issue of it not capturing payments. So we updated default_stripe to 1.0.5 which helped with the capture issue.

Since then, however, we are no longer receiving OrderID's in Stripe.

Previously the description would say "Shop Name Order #xxxx - Customer Name"
but now just says "Guest Customer: Customer Name" or "Customer ID: xxxx" without any reference to the OrderID.

Could you please help as it's causing a few issues for us.

Many thanks

abolabo:

--- Quote from: RCodiaDavid on December 21, 2021, 10:31:40 AM ---Hi,

We recently updated to 1.3.0 and then got the Stripe issue of it not capturing payments. So we updated default_stripe to 1.0.5 which helped with the capture issue.

Since then, however, we are no longer receiving OrderID's in Stripe.

Previously the description would say "Shop Name Order #xxxx - Customer Name"
but now just says "Guest Customer: Customer Name" or "Customer ID: xxxx" without any reference to the OrderID.

Could you please help as it's causing a few issues for us.

Many thanks

--- End quote ---

hi.
Did you see requests from your cart to stripe API in the logs of  "Developers" section ?

RCodiaDavid:
Hi,

Thanks for the tip. I've not really used Stripe at all before but after gaining access and checking their logs it appears that everything is coming through fine.

It's just the way the info is displayed in Balances/Payouts/Transactions description area now doesn't include the OrderID.
Previously all the descriptions were the same format, (shop name, order id, customer name), now it just has the customer name. This is needed for ease of doing the balance reports.

Is this due to us updating Abantecart and the Stripe module or is it something Stripe themselves have changed? How is this description line populated?

Many thanks for your time.

(Edit)
I notice in the logs that the orderID appears in the "statement_descriptor" but "description" it is set null.
On the Stripe API example of the payout object, the statement_descriptor is null but description is filled in.
Is this relevant? Also where in Abantecart is this info set?

Cheers

abolabo:

--- Quote from: RCodiaDavid on December 22, 2021, 06:44:19 AM ---Hi,

Thanks for the tip. I've not really used Stripe at all before but after gaining access and checking their logs it appears that everything is coming through fine.

It's just the way the info is displayed in Balances/Payouts/Transactions description area now doesn't include the OrderID.
Previously all the descriptions were the same format, (shop name, order id, customer name), now it just has the customer name. This is needed for ease of doing the balance reports.

Is this due to us updating Abantecart and the Stripe module or is it something Stripe themselves have changed? How is this description line populated?

Many thanks for your time.

(Edit)
I notice in the logs that the orderID appears in the "statement_descriptor" but "description" it is set null.
On the Stripe API example of the payout object, the statement_descriptor is null but description is filled in.
Is this relevant? Also where in Abantecart is this info set?

Cheers

--- End quote ---

https://github.com/abantecart/abantecart-src/blob/master/public_html/extensions/default_stripe/storefront/controller/responses/extension/default_stripe.php#L153

If you will be improve a code please send us your modifications (you can do this via github pull request.. or post here)

Let's make a code better together;-)

RCodiaDavid:
Hi Abolabo and thanks for that.

Having a close look at the current default_stripe.php and logs from before and after the upgrade is does seem that populating the 'description' field may be what's needed.

Only thing now is I'm not sure where the 'description' field was actually populated from in the previous version of default_stripe.php.
(edit: I found a line now that matches the old format in default_stripe/storefront/model/extension)

I'll be unable to test now until the new year but as soon as I do I will provide an update.

Many thanks and have a good Christmas/new year.


Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Social Login Mod