Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

activemerchant paypal gateway configuration

I'm trying to config my paypal gateway and activemerchant with help of railscasts tutorial but I'm a bit confused because the gateway information has changed.

That's the old config from the tutorial:

gateway = ActiveMerchant::Billing::PaypalGateway.new(
  login: "...",
  password: "...",
  signature: "..."
)

In my PaypalSandbox-Account I just have this:

  1. Endpoint: "..."
  2. Client ID: "..."
  3. Secret: "..."

What's the right config?

like image 600
crispychicken Avatar asked Mar 16 '13 19:03

crispychicken


2 Answers

What you need for your gateway are the classic credentials. In order to get your these you have to first create a Paypal sandbox account that will act as your seller. Make sure it is a Business/Merchant type account.

Once you do that then click on the "Profile" link for that account, look under the tab "API Credentials." That will have all the information you need listed.

  1. Paypal API Username
  2. Paypal API Signature
  3. Paypal API Password
like image 131
rocket scientist Avatar answered Sep 21 '22 04:09

rocket scientist


From scratch testing

First you have to go to Paypal developer's website and create and account

Then generate sandbox user type business then click on Profile option and then click on API Credentials tab you will finally the required data such login/username, password/password, signature/signature

enter image description here

like image 37
d1jhoni1b Avatar answered Sep 19 '22 04:09

d1jhoni1b