-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line item error #21
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: