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:
What's the right config?
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With