erp5_stripe: Use activity to store stripe session in ERP5
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.
Showing