#shakilkhan496

1 messages · Page 1 of 1 (latest)

opal wraithBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

lament fiber
#

Hello! I'm not sure I understand your question, can you provide more details?

sweet zodiac
#

[
{
prodigiDetails: {
merchantReference: 'MyMerchantReference1',
shippingMethod: 'Overnight',
recipient: [Object],
items: [Array],
metadata: [Object]
},
orderDetails: {
product: 'COVERS-POSTER',
price: 30,
currency: 'USD',
quantity: 1
}
},
{
prodigiDetails: {
merchantReference: 'MyMerchantReference1',
shippingMethod: 'Overnight',
recipient: [Object],
items: [Array],
metadata: [Object]
},
orderDetails: {
product: 'COVERS-POSTER',
price: 30,
currency: 'USD',
quantity: 1
}
},

}
]

#

Here is my data model

#

I am using node js

#

So here will be muiltiple cart item

#

I want to create payment intent with all these data , and also want to get data on webhook

#

" I'm looking to add a custom Stripe checkout integration to my site https://ngenart.com. I would need to combine the checkout experience with the ability to add custom items to cart with the print service Prodigi and their API. Is something you could help with" this was requirement

#

I have done all part , But as here is large amount of data I am having problem with pass everything in metadata

#

What can be the solution ?

lament fiber
sweet zodiac
#

Understand

#

How can I hanlde muiltiple item that cart is providing ?

#

I have already added a function to get the total amount calculation , that works

#

But I need all those data in the webhook

#

And with metadata I cannot pass all data

lament fiber
sweet zodiac
#

My main goal is to get the full array of cart in webhook some how

lament fiber
#

If it won't fit in metadata you'll need to store the information on your end and then store some reference to that data in the metadata.

sweet zodiac
#

Yes understand.

#

Thanks

#

So we will use out database

#

*our