Commit 4a994f3e authored by Jérome Perrin's avatar Jérome Perrin

stripe: use SQLQueue to prevent dropping activities

default activate() behavior is to not queue the activity if another
activity with the same path/method_id already exist. We don't want this
here.
parent e29c3c8c
......@@ -3,7 +3,7 @@ import json
response = connector.createSession(data=data)
assert "id" in response, response
context.activate().StripePaymentSessionModule_storeStripeSession(
context.activate(activity='SQLQueue').StripePaymentSessionModule_storeStripeSession(
reference=response["id"],
expiration_date=context.getTypeBasedMethod('getStripePaymentSessionExpirationDate')(),
resource=resource,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment