Add on_behalf_of in payment micro-service
This commit is contained in:
parent
90bafec58c
commit
a7a1263c73
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
.venv/
|
||||
/venv_t/
|
||||
*__pycache__*
|
||||
.vscode
|
||||
/deploy/.*
|
||||
|
||||
@ -255,11 +255,13 @@ class StripeManager:
|
||||
}
|
||||
],
|
||||
payment_intent_data={
|
||||
"on_behalf_of": transaction.to_stripe_account_id,
|
||||
"application_fee_amount": transaction.application_fee_amount,
|
||||
"transfer_data": {
|
||||
"destination": transaction.to_stripe_account_id,
|
||||
},
|
||||
},
|
||||
on_behalf_of=transaction.to_stripe_account_id,
|
||||
mode="payment",
|
||||
success_url="{}/work-space".format(
|
||||
self.site_url_root
|
||||
|
||||
Loading…
Reference in New Issue
Block a user