Skip to content

line item error #21

@bakibillah

Description

@bakibillah

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions