Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey all, I would like to ask about a problem which we are facing. We are building a shopify app.
Main functionality of our application is:
User A selects a product and enter his payments details so that we can hold payment until it get approved by user B. Then we sends a email to User B who approves the product, or can choose different variations of it (like size, color) and enters the shipping address.
After approval, then only we have to deduct money from user A's account. We also need to refund extra money in case User B chooses different variant with less price.
We are using theme app extension to show a button on product page, to choose the product. But we are not able to open payment page where user can enter their payment details(without shipping address). We also have to make sure that at this point payment should be in hold stage. It will be deducted only after other person approves it.
Please let me know how can we achieve above, is there any docs to refer or any API or anything. Thanks in advance.
Hi @tech_dev ,
You can use below setting
https://help.shopify.com/en/manual/payments/payment-authorization
Charge from user A, payment gateway will refund payment if payment not mark capture within 5days.
Hoping you will not allow user B more than 5 days to approve.
Once user B give approval mark payment capture with respective amount rest amount will be returned automatically.
Hope it will help!
Thanks @gr_trading, It seems above setting will be applied to all products. Sorry I forgot to mention, but we will have common "buy now" functionality as well, where money will be deducted automatically.
Hi @tech_dev,
Not necessary you can you can define it in api call, so you make create setting for same. In case of any doubt you can reach me at my whatsapp no provided in signature
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025