Shopify App Development: Custom Payment Functionality with existing payment gateway of merchants

Shopify App Development: Custom Payment Functionality with existing payment gateway of merchants

tech_dev
Shopify Partner
4 0 1

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. 

Replies 3 (3)

gr_trading
Shopify Partner
2045 149 206

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!

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
tech_dev
Shopify Partner
4 0 1

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.  

gr_trading
Shopify Partner
2045 149 206

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 

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee