mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 09:37:15 +00:00
set automatic_payment_methods
This commit is contained in:
@@ -429,6 +429,9 @@ def test_payment_flow():
|
||||
# Create payment intent
|
||||
intent = stripe.PaymentIntent.create(
|
||||
amount=1000,
|
||||
automatic_payment_methods={
|
||||
'enabled': True
|
||||
},
|
||||
currency='usd',
|
||||
customer=customer.id
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user