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)