3
當我使用PayFlow定期付款時,是否可以通過PayPal PayFlow API在上次交易中進行退款? 謝謝, MaciekPayFlow定期付款退款
當我使用PayFlow定期付款時,是否可以通過PayPal PayFlow API在上次交易中進行退款? 謝謝, MaciekPayFlow定期付款退款
簡單的回答是「是」。
您需要像平常一樣進行交易。參數如下:
USER
VENDOR
PARTNER
PWD
TENDER=C // C = credit card, P = PayPal
TRXTYPE=C // S = Sale transaction, A = Authorisation, C = Credit, D = Delayed Capture,
ORIGID=XXXX // ORIGID to the PNREF value returned from the original transaction
然後,您可能需要取消重複交易以阻止它再次發生。參數是:
USER
VENDOR
PARTNER
PWD
ACTION=C // C = Cancel
TRXTYPE=R // R = Recurring
ORIGPROFILEID=XXXX // Original Profile ID (of the recurring transaction)