What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Custom the Admin Order Page to amend refund available amount

Custom the Admin Order Page to amend refund available amount

EddieLuong
Shopify Partner
39 1 21

Hi guys,

 

I created a payment app following this guide to add a new payment method to merchant's site. Now I have 2 questions relating to the custom Admin order page, I hope for your help.

For the refund, my situation is my payment method is only allow refund partially, not refund total amount and this refund available amount would be set by my payment app. (actually, Shopify allow partial refund and total amount refund). So my questions are:

 

1. How can I replace the default available amount for refund by my own available amount? Please see image below

Capture1_edit.JPG

 

2. After the refund get done (partial refund), I want to disable refund link/button. How can I do this?

Capture2_edit.JPG

 

I appreciate your help. Thanks

Replies 2 (2)

EddieLuong
Shopify Partner
39 1 21

Anyone can help on this?

EddieLuong
Shopify Partner
39 1 21

Is there anyone can tell me is it possible or not?