Paypal Express Checkout with ActiveMerchant as in Shopify

感情迁移 提交于 2019-12-04 19:00:34

We use PayPals "Accelerated Boarding" method of setup for Express. They should send you an email after the first attempted sale with a link that automatically sets up the correct API settings.

To manually set them up, you can follow the instructions listed in our PayPal wiki, http://wiki.shopify.com/PayPal which are as follows:

Third-party authentication: Grant Shopify the appropriate API authentication permissions 1. Log in to your PayPal account and click the Profile subtab. 2. Click the API Access link in the Account Information column. 3. Click the Grant API Permission link. 4. In the Enter an API Partner Username field, enter scott_api1.jadedpixel.com. 5. Check the following API permissions: * Express_Checkout * Direct_Payment * Admin_API * Auth_Settle 6. Click the Save button.

Best regards,

Mike @ Shopify

Ask the client to grant permissions on paypal and pass in the client's paypal email as :subject when creating an instance of the gateway:

ActiveMerchant::Billing::PaypalExpressGateway.new(
  :login => '...', :password => '...', :signature => '...',
  :subject => 'client@example.com')
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!