#Arctic
1 messages · Page 1 of 1 (latest)
it take a key-value pair
and value cant be array?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
no it should be a string
the int will be "stringified"
is there a better way to store products in the payment intent? bcs my products are deeply nested
Checkout is not an option for you?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The easiest way is to create an Order on your side, and pass the client_reference_id
would this replace the payment intent?
you have 2 options here, you can use Checkout Session and this would mean that you will redirect your customer to our Hosted Checkout page but you can have your line_items (the different products) saved in Stripe
and option 2?
or you can create the Order/Checkout basket in your own database and just pass in the metadata the id of that object
hmm okay i think im gonna do this, thank you
just out of curiosity, why cant you put arrays in the metadata?
could be useful, right?
this is not possible I'm afraid, we can't allow people to use the metadata as a database
i see, fair