Subscriptions, “preparing payment…” never ends

I try Subscription in test mode, the checkout step works but “preparing payment…” never ends and the select card component doesn’t appear.

POST https://payment.snipcart.com/api/public/sessions 400 (Bad Request)
A ‘system’ error occured in Snipcart.undefined

@sylvaingarnot can you try clearing your cache + cookies and try again?

Thanks for your reply Charles,
Yes I saw your email.
All these previous issues have been fixed ! :ok_hand:

But now I have an issue with the payment step :
“preparing payment…” never ends and the select card block doesn’t appear.
POST https://payment.snipcart.com/api/public/sessions 400 (Bad Request)
A ‘system’ error occured in Snipcart.undefined

Yes I already tried, even with new user. Everything works fine with simple product but not with subscriptions

It seems you are having issues during the cart validation.
This post will help debug the validation error.

Also, since you are using the json crawler, make sure the product is correctly defined in the JSON definition.

I dont think it’s an issue about the cart and/or the crawler validation. This step happens just after the payment and the error messages related appear just above the payment component. I can’t reach this step because the payment component never appears.

Maybe i cant use subscription on test mode ?

Paying simple product works fine. I just add this to my “snipcart-add-item” to make subscription works :
Capture d’écran 2021-08-09 à 21.54.43

(and also data in the crawler public file)

Is your website live somewhere I could test?

i think that i’ve found the issue for my case.

For the customers who are stuck at “preparing payment”, if you watch on your Snipcart dashboard, it appears that they dont have any information saved : name and shipping and billing adress. If you had this information manually the “preparing payment” step works.