I've been asking myself if there is a possibility to use the standard payment page of paypal to redirect user to "Authorize" a payment using their Credit card (using "paymentaction" : "authorization" in the redirect form). Having IPN setup i could receive the auth_id. Then later on "Capture" an amount (equals or less) using the Paypal REST API but using the "auth_id" received through IPN ? It seems the "authorization_id" received through Paypal REST API "Authorize" is the same length. Somehow i suppose it is the same value.
Before implementing such i wonder if anyone tried this before ?
Thank you
答案 0 :(得分:0)
您可以使用标准(网站付款标准)页面来创建与“经典”授权API配对的授权,但您不能如您所述混合经典和REST API。
REST API在PayPal的服务器端存储不同/附加信息,因此通常您无法通过REST API操纵通过经典API创建的事务(反之亦然,也很复杂,通常不建议)。