Use Business Logic to interface with Stripe?

Great job, @Stephen_Peasley! Thank you for sharing the final logic.

1 Like

Hi,
I created a codeless stripe request based on the logic of @Stephen_Peasley to create the serverside part for a payment session and had an error code:
{
“code”: 0,
“message”: “{"error":{"message":"Invalid array","param":"line_items","type":"invalid_request_error"}}”
}
I checked the parameters, that are required and I dont know whats wrong with this approach.
The stripe doc link is:

My Codeless approach:

test2

The creation of a stripe connected customer works, but not the session creation.

Thanks in advance

Hi @S_Coskun,

I noticed this problem in the logic:

And then this:

Regards,
Mark

1 Like

Thanks for the quick response,
I’ll try your suggestions as soon as possible.

Hi @S_Coskun did you finally solved the problem?
It would be very interesting undertand how to manage Stripe payment flow without stripe plugin.
Thanks

Hi @DanielEnergy this is my working example. Hope it helps:

In case anyone is interested, here is an alternate solution to create a stripe checkout session utilizing the query parameter. I use the same query parameter approach to create a portal session, get subscriptions, create customers, etc. Thanks to all on this topic for helping me sort out Stripe integration with Backendless!

5 Likes