django-stripe-checkout
django-stripe-checkout copied to clipboard
line item error
line_items=[ { 'name': 'T-shirt', 'quantity': 1, 'currency': 'usd', 'amount': '2000', } ] change the line items to only price and quantity like the sample code below. price id could be copied from the stripe products page.
line_items=[ { 'price': 'price_1O2pGtLrE8utBlHsvyGshbgD', 'quantity': 1, } ]
ref: https://www.youtube.com/watch?v=CDQb07n1tSA