【问题标题】:Paypal Express Checkout: It is possible set recipient with ActiveMerchant?Paypal Express Checkout:可以使用 ActiveMerchant 设置收件人吗?
【发布时间】:2013-04-10 08:09:33
【问题描述】:

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

【问题讨论】:

    标签: ruby-on-rails ruby paypal activemerchant


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2014-01-15
      • 2017-10-16
      • 2015-06-08
      • 1970-01-01
      • 2018-05-28
      • 1970-01-01
      • 2020-02-21
      • 2012-03-14
      • 2011-06-01
      相关资源
      最近更新 更多