#Shakeel

1 messages Β· Page 1 of 1 (latest)

fleet lagoonBOT
long mesa
#

πŸ‘‹ how may I help?

pallid orchid
#

I need help regarding stripe webhook

long mesa
#

sure thing

pallid orchid
#

Actually we have used TLS 1.3 version

#

is it supported by your WEBHOOK ?

long mesa
#

Did you have any issues?

#

or this is just a preventive Q?

pallid orchid
#

Already we have installed SSL with the TLS 1.3 version but our invoices going to draft

#

we have faced the issue

long mesa
#

is the invoices related to a subscription?

pallid orchid
#

yes

#

we have placed the order as a daily subscription

#

bu next day invoices goes to draft

#

Right now it the testing account

long mesa
#

yes this is normal, all subsequent invoices (after the first) get finalized after an hour of their creation time

pallid orchid
#

but we are waiting these invoices status change from DRAFT to PAID since two days

#

still remains as DRAFT

long mesa
#

would you mind sharing the invoice id?

pallid orchid
#

sure

#

Invoice number: B876A887-0017 this is paid for the first time

#

Invoice number: B876A887-DRAFT this is shows as DRAFT

long mesa
#

I need the in_xxx ID

pallid orchid
#

it is in test mode

long mesa
#

yes you can find the ID in_xxx on the dashboard

pallid orchid
#

in_1MTkDRSHRetzTue6pxLb0zVu for the PAID invoice

#

for the first time

#

in_1MUpe6SHRetzTue6UfwC4Hkj for the DRAFT one

long mesa
#

looking into it

pallid orchid
#

sure

long mesa
#

ok so two things here:
1- Stripe webhooks don’t currently support TLS v1.3
https://stripe.com/docs/webhooks/best-practices#webhooks-with-https:~:text=Stripe webhooks don’t currently support TLS v1.3
2- When you enable automatic collection, Stripe automatically finalizes, and begins automatic collection of the invoice. We wait an hour after receiving a successful response to the invoice.created event before attempting payment. If we don’t receive a successful response within 72 hours, we attempt to finalize and send the invoice.
https://stripe.com/docs/invoicing/integration/workflow-transitions#finalized

Implement these best practices when using webhooks.

Learn about invoice status transitions and finalization.

pallid orchid
#

Here is the SSL Labs report:-

long mesa
#

I'm aware, I've tested it

pallid orchid
long mesa
#

but Stripe Webhooks don't currently support TLS V1.3

pallid orchid
pallid orchid
long mesa
#

yes

pallid orchid
#

but in the above screenshot you can see the TLS 1.3 as well as TLS 1.2

long mesa
#

yes but the default is 1.3 which is incompatible with Stripe Webhooks

pallid orchid
#

so we need to setup SSL with 1.2 TLS right

#

?

long mesa
#

yes

pallid orchid
#

and how to enable automatic collection? and what is the use

#

I would like to tell you that we are using your STRIPE module in our Magento 2 website for SUBSCRIPTION functionality

#

so as we have placed the order as DAILY subscribed

#

so the result is order is placed for the first time and as per the STRIPE docs in next day order should be created in the Magento 2 admin

#

but unfortunately it will not going to create

long mesa
#

if you want to test, you don't really have to use 1 day prices but instead you can use test clocks

pallid orchid
#

ok you mean when we use test clock so we can test it on the same day

long mesa
#

yes

pallid orchid
#

actually we are from INDIA so for testing we need to set the time in IST or as default GMT

#

Actually I have tried to test with the test clocks

long mesa
#

good πŸ™‚

pallid orchid
#

on JAN 19

long mesa
#

you can advance time eventually to simulate the future

pallid orchid
#

and set the time is 20:35

#

GMT + 5:30

#

but not work for me

long mesa
#

you need to also advance the day

#

you can't go back in time, only forward

pallid orchid
#

okay I will try it again but do I need to set the time in IST or GMT

#

please suggest

long mesa
#

GMT

pallid orchid
#

Can we have any docs or screenshot how stripe create subscription order in magento 2 automaticaly

#

actually we don't have found any docs on google for the stripe

#

?

royal eagle
pallid orchid
#

yes

#

in the above article see the below para

#

The module automatically creates a new order in your Adobe Commerce admin panel for each renewal.

#

?

#

but I have placed many orders in Magento with the daily subscription

#

but next day order not creating automatically in Magento 2 admin

#

as documented

royal eagle
#

Gotcha, apologies, but we aren't as familiar with the specifics of how that connector operates (we focus more on helping developers integrate using our API). I would recommend reaching out to our Support team regarding this matter:
https://support.stripe.com/?contact=true

pallid orchid
#

I have tried many times since last 1 month but they are not providing any response

#

and always answered our dev will contact you soon

#

but still we are waiting since long