dshop
dshop copied to clipboard
Duplicate orders
A merchant noticed what looks like duplicate dshop orders. Short ids: '7NYQJZQG' and 'SHP92HNX' They were created 2.5 days appart. Payment type is credit card.
Querying the DB shows the IPFS hashes are identical, strongly suggesting these orders are dupes. select id, short_id, ipfs_hash, payment_code from orders where short_id in ('7NYQJZQG', 'SHP92HNX');
Root cause is still TBD. The payment_code (created as part of a webhook callback from Stripe) for the orders differ. So possibly the first webhook call from Stripe failed part way thru but still created the order in the DB, then Stripe called back later on?