Refund request

Shopify Partner
2 0 0

Hi Team,

 

We are a online payment service provider and doing integration with Shopify platform.

We are implementing an integration based on automatic capture, and hosted SDK based redirection model.

 

We faced with an issue for a refund process. When we make a refund request, we cannot have any information as to an original transaction. We expected to have x_gateway_reference which would be an identifier for an original transaction, but we cannot have it.

 

Is there any way to have it for a refund process? Here is real test information for an authorization, and refund.

 

1) Authorization Request

 

x_reference: 12446458019925

x_account_id: INIpayTest

x_amount: 1104

x_currency: KRW

x_url_callback: https://inicis.myshopify.com/services/ping/notify_integration/kg%EC%9D%B4%EB%8B%88%EC%8B%9C%EC%8A%A4...

x_url_complete: https://inicis.myshopify.com/25865945173/checkouts/02bfece27ce016ce080f0249eb2031bf/offsite_gateway_...

x_shop_country: KR

x_shop_name: inicis

x_test: true

x_customer_last_name: jungc

x_customer_email: hsjung1104@kggroup.co.kr

x_customer_billing_country: KR

x_customer_billing_city: city

x_customer_billing_address1: address

x_customer_billing_address2: apartment

x_customer_billing_state: KR-26

x_customer_billing_zip: 12345

x_invoice: #12446458019925

x_description: inicis - #12446458019925

x_url_cancel: https://inicis.myshopify.com/25865945173/checkouts/02bfece27ce016ce080f0249eb2031bf?key=7124e17b02dc...

x_signature: dba837c1584beae043ee68d38276d09883ebd6790b39e9b0567b5b294eaea15f

 

2. Authorization Response (Redirection)

x_account_id: INIpayTest

x_amount: 1104

x_currency: KRW

x_gateway_reference: StdpayCARDINIpayTest20200227081900947737

x_reference: 12446458019925

x_result: completed

x_signature: dd64ff883f06b581bac8d398bd41e0b952ff53a37be96ff4de9d29b7c5bef181

x_test: true

x_timestamp: 2020-02-27T08:19:01Z

x_message: OK

 

3. Refund request (Request)

x_account_id=INIpayTest

x_amount=1104

x_currency=KRW

x_reference=2724612407381

x_signature=24b5f9341cccdf84d707da89846f6e8800f9d319f3994064edfcca3d53aaf3c8

x_test=true

x_url_callback=https://checkout.shopify.com/services/ping/notify_integration/kg%EC%9D%B4%EB%8B%88%EC%8B%9C%EC%8A%A4...

x_transaction_type=refund

x_shopify_order_id=2144954548309

 

Thanks,

Marcus

0 Likes