0

我已经成功地将 Silent Post 功能与我们的 ARB 订阅系统集成。我现在要做的是,当我们通过商家界面退款时,我如何区分退款与所有其他交易?是为退款付款设置的特殊变量吗?

4

1 回答 1

0

x_type将设置为“信用”

这是一个实际的 Silent Post 验证(敏感信息已删除/更改)

Array
(
   [x_response_code] => 1
   [x_response_subcode] => 1
   [x_response_reason_code] => 1
   [x_response_reason_text] => This transaction has been approved.
   [x_auth_code] => 056187
   [x_avs_code] => P
   [x_trans_id] => 2692444422
   [x_invoice_num] => 123
   [x_description] =>
   [x_amount] => 59.90
   [x_method] => CC
   [x_type] => credit
   [x_cust_id] => 1234
   [x_first_name] => John
   [x_last_name] => Smith
   [x_company] =>
   [x_address] =>
   [x_city] =>
   [x_state] =>
   [x_zip] =>
   [x_country] =>
   [x_phone] =>
   [x_fax] =>
   [x_email] =>
   [x_ship_to_first_name] =>
   [x_ship_to_last_name] =>
   [x_ship_to_company] =>
   [x_ship_to_address] =>
   [x_ship_to_city] =>
   [x_ship_to_state] =>
   [x_ship_to_zip] =>
   [x_ship_to_country] =>
   [x_tax] => 0.0000
   [x_duty] => 0.0000
   [x_freight] => 0.0000
   [x_tax_exempt] => FALSE
   [x_po_num] =>
   [x_MD5_Hash] => 2A4A7F63DB4390A317E4988430FFA4
   [x_cvv2_resp_code] =>
   [x_cavv_response] =>
   [x_test_request] => false
)
于 2011-06-01T19:00:08.447 回答