我正在使用ActiveMerchant和Paypal Express Checkout付款。可以设置收件人吗?例如:
gateway = ActiveMerchant::Billing::PaypalExpressGateway.new(
:login => "...",
:password => "...",
:signature => "..."
)
response = gateway.setup_purchase(100,
ip: request.remote_ip,
return_url: 'http://localhost:3000/cancel',
cancel_return_url: 'http://localhost:3000/return',
recipient: 'seller@example.com' # Set recipient here
)
redirect_to gateway.redirect_url_for(response.token)
答案 0 :(得分:-1)
收件人的意思是什么?您正在设置网关以将所有付款直接发送给这些凭据的所有者。