PayPal Pro-API call errors

General ShopSite user discussion

PayPal Pro-API call errors

Postby Cecil Andrews » Wed Sep 15, 2010 1:58 pm

Using ShopSite Version 10 sp1, hosted on Hostgator
I have set up Payal Pro account and, as far as I can tell, configured ShopSite correctly.
Instructions in ShopSite Help are poor, and probably refer to prior screen on PayPal.
I received my API user name and password from PayPal and have enterd them into configuration screen.
If I enter only the username and password which I received from PayPal, then during checkout I get the error "You do not have permission to make this API call".
If I enter the contents of my dowloaded API certificate in the API Certificate box, then druring checkout I get the error "This transaction cannot be processed due to an invalid merchant configuration."
The instructions in the ShopSite Help files indicate users should go to PayPal profile and "request a client-side SSL certificate", buty there is no such option, so I selected to "Request API credential.
Can anyone give me a definitive answer as to where I went wrong?
Is there an updated check list for implementing PayPal Pro on ShopSite?
Cecil Andrews
 
Posts: 2
Joined: Mon Nov 16, 2009 1:42 pm
Location: Arlington, WA

Re: PayPal Pro-API call errors

Postby Jim » Wed Sep 15, 2010 4:01 pm

Paypal has many options and the naming conventions and policies don't always make it clear which is which.

I am assuming that you mean PayPal WebSites Payment Pro and not PayPal Payflow Pro?
If that is the case the there are 2 types of API credentials, API signature or API SSL client-side certificate.

A paypal account can only be set to use one of these. Is your PayPal account used with multiple stores, ShopSite or otherwise? If so you must use the same type of API credentials in all stores. Which type of API credentials are you using?

For either type of credential go to PayPal and log in. Click the My account tab. Then click on the Profile link which will bring up a Profile Summary Page. in the Account Information column click "API Access" link. On the next screen in the Option 2 section click the Request API credentials link.

Now you need to know which method you are going to use. Click either the Request API signature or Request API Certificate radio button according to which you want to use. The API Certificate was the first one they implemented and is what ShopSite originally used. They later added the API signature and that was added to ShopSite. So depending on which version of ShopSite you have, you will have fields for just the API certificate method or both methods. Once you have selected the appropriate radio button and have read the API License Agreement and Terms of Use click the Agree and Submit.

If you choose the API Signature method you will see the credentials which consist of the API Username, API Password and Signature.

If you choose the API Certificate method you will see the credentials which consist of API Username, API Password and a button to Download Certificate. Click the Download Certificate button and save the file to your local machine. Also copy the Username and Password.

Now on the ShopSite config screen for PayPal WebSites Payment Pro screen fill in the Merchant email address, API Username, API Password with the info from the PayPal site.

If you choose to use the API Certificate click the radio button for that option and paste the content of the certificate you downloaded into the API Certificate field. Make sure that you only copy the certificate and do not include any leading or trailing spaces. It should start with
-----BEGIN RSA PRIVATE KEY-----
and end with
-----END CERTIFICATE-----
with no spaces or carriage returns after that line.

If you choose to use the API signature click that radio button and enter the API Signature from PayPal in the API Digital Signature field.

Again there must be no leading or trailing spaces on the username, password certificate or signature lines.

Enter any other configuration you need in the Express Checkout Settings and click Save changes.

You should then be able to place PayPal orders. Note: if you use the PayPal Website Payments Pro method you must also have the PayPal Express Checkout option available to shoppers so the PayPal Express Checkout box must be checked.l


Note: I followed the steps in the help at http://www.shopsite.com/help/10.2/en-US/sc/pro/payment.paypalpro.html and they were clear enough to follow. The problem I had was finding and following PayPal's instructions on PayPal's site to get to the various options.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: PayPal Pro-API call errors

Postby Cecil Andrews » Wed Sep 15, 2010 8:07 pm

PayPal Website Payment Pro is correct, not Pay Flow.
I am using API Certificate. Have received username and password, entered both in ShopSite Configuration screen.
Downloaded and copied entire certificate into configuration screen. No spaces, no CR, no LF.
Still get the message below when processing a CC. PayPal works, Google Check out works, CC process does not!

Your order was not processed
There was a problem processing your credit card information.
Please verify that the following were entered correctly:

Zip Code
Card Number
Expiration Date
If you repeatedly see this message, complete your order by contacting the merchant directly.
--------------------------------------------------------------------------------
Detailed error message:
Result: Failure
Error Code 1 : 10501
Severity Code 1 : Error
Short Message 1 : Invalid Configuration
Long Message 1 : This transaction cannot be processed due to an invalid merchant configuration.
Cecil Andrews
 
Posts: 2
Joined: Mon Nov 16, 2009 1:42 pm
Location: Arlington, WA

Re: PayPal Pro-API call errors

Postby rpyne » Wed Sep 15, 2010 9:12 pm

Cecil Andrews wrote:Detailed error message:
Result: Failure
Error Code 1 : 10501
Severity Code 1 : Error
Short Message 1 : Invalid Configuration
Long Message 1 : This transaction cannot be processed due to an invalid merchant configuration.[/b]


Error Code 10501 notes say "Occurs when you have not agreed to the billing agreement." This would mean that you have not completed the signup and configuration process for Website Payments Pro on your PayPal account.
rpyne
Site Admin
 
Posts: 3
Joined: Thu Aug 03, 2006 9:24 pm
Location: Utah, USA


Return to User Forum

Who is online

Users browsing this forum: No registered users and 155 guests