0

我正在使用 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)
4

1 回答 1

-1

收件人是什么意思?您正在设置网关以将所有付款定向到这些凭据的所有者。

于 2013-06-21T15:36:09.570 回答