Remove PMTs param

This commit is contained in:
Sawyer Hollenshead
2026-02-20 09:40:36 -08:00
parent 2b8e3166a1
commit 13c1081312

View File

@@ -79,7 +79,6 @@ stripe.api_key = "sk_test_..."
# Create a checkout session
session = stripe.checkout.Session.create(
payment_method_types=['card'],
line_items=[{
'price_data': {
'currency': 'usd',
@@ -431,8 +430,7 @@ def test_payment_flow():
intent = stripe.PaymentIntent.create(
amount=1000,
currency='usd',
customer=customer.id,
payment_method_types=['card']
customer=customer.id
)
# Confirm with test card