Laurent Vienne

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
in reply to: Stripe Issue #178867

Laurent Vienne
Participant

Thanks a lot !!!

in reply to: Stripe Issue #178810

Laurent Vienne
Participant
This reply has been marked as private.
in reply to: Stripe Issue #178747

Laurent Vienne
Participant

in test mode it doesn the same

in reply to: Stripe Issue #178746

Laurent Vienne
Participant

set up an account and try to pay you will see

in reply to: Stripe Issue #178745

Laurent Vienne
Participant

I removed the cache, i verified Stripe, I still have exactly the same issue.

invalid_request_error

You cannot use line_items.amount, line_items.currency, line_items.name, line_items.description, or line_items.images in this API version. Please use line_items.price or line_items.price_data. Please see https://stripe.com/docs/payments/checkout/migrating-prices for more information.

in reply to: Stripe Issue #178713

Laurent Vienne
Participant

this is the code from stripe

{
“client_reference_id”: “MYBL633A8664BE14E”,
“line_items”: {
“0”: {
“price_data”: {
“unit_amount”: “9900”,
“currency”: “USD”,
“product_data”: {
“name”: “My Blog Order# MYBL633A8664BE14E”
}
},
“description”: “Purchasing from Zion Supreme | My Blog Order# MYBL633A8664BE14E”,
“quantity”: “1”
}
},
“cancel_url”: “https://zionsupreme.com/cart/”,
“customer_email”: “laurentvienne@icloud.com”,
“mode”: “payment”,
“success_url”: “https://zionsupreme.com/purchases/?MYBL633A8664BE14E”,
“payment_method_types”: {
“0”: “card”
}
}

Response body

{
“error”: {
“message”: “You cannot use line_items.amount, line_items.currency, line_items.name, line_items.description, or line_items.images in this API version. Please use line_items.price or line_items.price_data. Please see https://stripe.com/docs/payments/checkout/migrating-prices for more information.”,
“type”: “invalid_request_error”
}
}

Request POST body

{
“client_reference_id”: “MYBL633A8664BE14E”,
“line_items”: {
“0”: {
“price_data”: {
“unit_amount”: “9900”,
“currency”: “USD”,
“product_data”: {
“name”: “My Blog Order# MYBL633A8664BE14E”
}
},
“description”: “Purchasing from Zion Supreme | My Blog Order# MYBL633A8664BE14E”,
“quantity”: “1”
}
},
“cancel_url”: “https://zionsupreme.com/cart/”,
“customer_email”: “laurentvienne@icloud.com”,
“mode”: “payment”,
“success_url”: “https://zionsupreme.com/purchases/?MYBL633A8664BE14E”,
“payment_method_types”: {
“0”: “card”
}
}

Viewing 6 posts - 1 through 6 (of 6 total)