Difference between revisions of "PayPal payments do not work"
m |
|||
Line 21: | Line 21: | ||
*You are using an unsupported PayPal account in MOR | *You are using an unsupported PayPal account in MOR | ||
<br><br> | <br><br> | ||
===Payment was unsuccessful, details from Gateway: Security header is not valid=== | ===Payment was unsuccessful, details from Gateway: Security header is not valid=== |
Revision as of 06:47, 26 April 2011
Troubleshooting
- Check /home/mor/config/environment.rb file and make sure variable Web_URL matches the IP or Hostname to which your user comes to your site.
Example:
If your site is http://www.mycompany.com and your IP is 22.33.44.55, then in Web_URL you should put http://www.mycompany.com, not the IP!
You need to restart Apache after you made changes to environment.rb file.
/etc/init.d/httpd restart
No (Unnotified payment)
This value is assigned before the transaction to PayPal. When the transaction is completed this value is changed accordingly to the response got from PayPal
Reasons for this might be:
- MOR does not get a response from PayPal - this might be if you are using unsupported type of PayPal gateway. MOR supports: Website Payments Pro (in Payment Gateway Addon) and Personal
- User did not completed the payment
Payment was unsuccessful, details from gateway: This transaction cannot be processed due to an invalid merchant configuration.
- You are using an unsupported PayPal account in MOR
Payment was unsuccessful, details from Gateway: Security header is not valid
As Satish points out, if you want to test in the Sandbox, you *MUST* generate a new set of API credentials from within the Sandbox account. The Security Header Not valid error means you are using a set of credentials that are not valid for the chosen environment. You cannot use your Live credentials with the Sandbox - they are completely separate environments.
To get a PayPal Live certificate.
1. log in to https://www.paypal.com.
2. click on "My Account" then "Profile".
3. click the API Certificate Request link.
4. enter API Username(from paypal page) in Login field in MOR PayPal payments PRO gateway
5. enter API Password(from paypal page) in Password field in MOR PayPal payments PRO gateway
6. enter Signature in(from paypal page) in Signature field in MOR PayPal payments PRO gateway
Payment was unsuccessful, details from gateway: This transaction cannot be processed due to an invalid merchant configuration.
- Make sure that you have accepted the "PayPal Website Payments Pro" agreement in your PayPal account.
1. login to your Paypal
2. then go to Merchant Services
3. Choose Website Payments Pro
4. Choose Accept Billing Agreement
- You are using an unsupported PayPal account in MOR