Commit b741cf46 authored by Jérome Perrin's avatar Jérome Perrin Committed by Kazuhiko Shiozaki

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 fa59da75
......@@ -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