Create a temporary product for a payment button. Temporary products inherit all fields from their parent product and are automatically deleted after 7 days. Orders received via the temporary product will remain in the system.
Example1 (Dynamic price)
Sometimes you don't know the price of the product until customer does the complete checkout. To achieve this, you can set the value parameter. For example I can set value as 905
.
Example2 (Customized Product)
You can create a customized product by editing the product description parameter. For example I can set it as Redmi 32GB (Yellow)
.
Example3 (Attach custom data)
You can attach customer userid/special notes to product by editing the extra_data parameter which can be seen in Order Details and can also be fetched via Get order details. For example I can set it as user_id-19120
.