Personal photo portfolio .NET web application which implements a Blazor and Tailwind CSS user interface with a MongoDb database, and includes integration with Stripe Checkout and Prodigi Print API
0
stars
0
forks
source link
Prodigi order creation - send payment intent id in metadata #65
The Prodigi order object allows a set of key value pairs to be added in a custom metadata field.
This could be used to send the Stripe payment intent Id, thereby enabling a kind of belt and braces check when the response is returned, ensuring that the metadata value returned matches our existing recorded value.
Is it overkill though? We're already sending the order's guid in the idempotency key field.
The Prodigi order object allows a set of key value pairs to be added in a custom metadata field.
This could be used to send the Stripe payment intent Id, thereby enabling a kind of belt and braces check when the response is returned, ensuring that the metadata value returned matches our existing recorded value.
Is it overkill though? We're already sending the order's guid in the idempotency key field.