I have a database called “ orders “ contains records.
I want to send these records from “ orders “ to another database called “ Order history “ when payment in stripe done.
I made the stripe button a list in order to make it possible to send data to “ order history “
The issue i have when the payment is done it will send only one record not all records.
And when i put delete “ order “ after payment is done in order to reset the cart, the action delete only one record not all cart “ orders database “ records.
I think you don’t need another collection called Order History becasue you can show the Logged in user’s>Orders. See the Ordering Template made by Adalo : Clone Ordering to Jumpstart Your No Code App
I think you have messed this here. To store that Order, Order Items you can create another collection. Then connect the Orders collection and Order Items collection with a relationship property. The Ordering Template has this : Clone Ordering to Jumpstart Your No Code App