• Gabriel Monnerat's avatar
    erp5_stripe: Use activity to store stripe session in ERP5 · ec4a3f9d
    Gabriel Monnerat authored
    Creating Stripe Payment Session and HTTP Exchange in the same transaction can raise conflict errors and when it happens, we already created the session on the Stripe side.
    
    With this, when this happens, we receive one useless webhook to inform that the session has expired.
    
    Also, batch_mode was removed because we only use it in tests. The tests were updated to use like in production.
    ec4a3f9d
StripePaymentSessionModule_storeStripeSession.py 631 Bytes