#sraiththejet
1 messages · Page 1 of 1 (latest)
Hey there
What are you passing right now and what are you seeing in the request in your Dashboard?
String payLoad = 'cancel_url=https://www.google.com&success_url=https://www.google.com&mode=payment&line_items[price]=price_1LsYV9LtxbTPZo1dX6qmHUwl';
req1.setBody(payLoad);
and I am getting this back "error": {
"message": "Invalid array",
"param": "line_items",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_dgZZel42JXG8KV?t=1666028287",
"type": "invalid_request_error"
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Try line_items[][price]=price_123
That did it! Thank you so much 🙂