django-stripe-checkout icon indicating copy to clipboard operation
django-stripe-checkout copied to clipboard

line item error

Open bakibillah opened this issue 2 years ago • 0 comments

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

bakibillah avatar Oct 19 '23 07:10 bakibillah