How can I simulate an error using Paypal Payments Pro sandbox? - paypal

How do I simulate an error with PayPal Payments Pro? I am trying to simulate things such as Suspected Fraud, Declined cards etc.
We are using Magento Commerce Enterprise edition and would love to be able to see errors from the user interface. Any help would be greatly appreciated.
We are developing using the PayPal sandbox.

On the Developer Central site (https://developer.paypal.com), log in and go to Dashboard >> Sandbox >> Accounts. Find the email address for the PayPal Payments Pro account. Click on it, then click Profile. On the Settings tab, make sure that Negative Testing is enabled.
Once Negative Testing is enabled, make sure that the order total matches one of PayPal's error codes (you can see the full list here). For example, to simulate error code 15005 (which is your basic "card was declined" error), run a transaction for $150.05.
More info available here.
Edit 7/7/2017: Changed instructions to reflect the current location of the negative test mode toggle, and changed the link to PayPal's dev documentation.

Related

PayPal IPN not working in sandbox

I'm brand new to setting up IPN's. I've built websites, but never a subscription site like the one I'm building now. I'd like to set up a recurring monthly subscription option and a recurring yearly subscription option.
My website is built on Joomla 3 and I'm using a plugin for the subscription module. I set up the PayPal subscription buttons just as explained in the directions, which I followed to the letter. Nevertheless, when I go to test it in the PayPal sandbox, I keep getting the same error, which says that it wasn't sent and the handshake wasn't made, and to check my settings. That's all it says. I don't know if the issue is with my site, my server or the settings I'm entering into the actual sandbox. I checked with my server and they said there's nothing wrong on their end. Do I need an SSL for the integration to work?
Please keep in mind that, while I can follow explicit directions, I'm so new at this that I don't even know how to access my 'listener,' so if you respond, please let me know where to find things, if necessary.
Any help would be very greatly appreciated - I've been at this for 12 hours now and I'm at a complete loss.
This issue has two sides
1. Is Paypal IPN enabled on the sandbox account where you are trying to receive the payments
2. You would need a IPN listener script to get the IPN notifications
This process is the same for Sandbox or live mode
https://www.jotform.com/help/276-How-to-Enable-IPN-for-Paypal
https://github.com/paypal/ipn-code-samples
This should help you get started

magento-paypal payflow-pro- credit/debit card error

I have configured Paypal Payflow Pro and it's working with real paypal credit card details but while using with test mode with American express it throws below error:
declined 10759 : Please use another payment card
what is exact issue , i am not able to trace it !
The cards provided at that URL might have been used so much in TEST mode that they simply don't work anymore.
Instead, generate fresh numbers using the link http://www.getcreditcardnumbers.com/ when you need them. Any number generated there will work with any security code and valid expiration date.
You may be best served contacting PayPal support to trouble shoot because we could be declining for any number of reasons (possibly related to the card itself).

Paypal Payments Pro & Credit Card Subscriptions

I am developing a PHP site where you can sign up to a subscription with an initial amount.
I am using the PayPal NVP api as it seems the most comprehensive.
Setting this up with a PayPal user is fine. I am also trying to set this up for credit/debit cards.
When testing in the sandbox I keep getting the following response:
DPRP is disabled for this merchant
I have enabled BUSINESS-pro in the sandbox account as it suggests but I am still getting the error.
There seems to be lots of conflicting information in the developer documentation/ web searches that this functionality is still available for the NVP api service.
If not, can someone point me towards the correct solution or API reference to enable me to do this?
Many Thanks
If you want to use DPRP for sandbox account, you need to contact PayPal technical team to enable it, just submit a ticket at https://www.paypal-techsupport.com/ (click contact support at the bottom), someone will toggle the function for you.

Setting up Zencart with Paypal

To begin: I am trying to setup Zencart with Paypal. I have followed all of Paypal and Zencart's instructions:
Putting in Paypal's API username, password and signature code into Zencart's Payment Module section. Checked the "live" environment.
I then tried buying a product on the website and got the following error message:
Zen Cart message: We are sorry for the inconvenience. The PayPal account
authentication settings are not yet set up, or the API security information
is incorrect.
10002
Security error
Security header is not valid
I have tried looking up the answer but everything I see says to make sure the environment is not in sandbox and that everything is typed in correctly. I have tripled checked and the API is typed in correctly and it is set to live.... what else can I do?
Moving on, I have tried to setup the sandbox but am unfamiliar with how to use Paypal's sandbox. So I reconfigured Zencart to "sandbox mode" with the appropriate sandbox API and I set up box a sandbox account for a merchant and private buyer but I don't know how to use them. Should I go back to the Zencart store and register with my new "Paypal sandbox private buyer email"? And will checking out using this email they gave me work as just a test... I don't want to go through with the checkout if I'm going to get billed...
Thank you for any help:)
The best place to get support on Zen Cart issues is directly on the Zen Cart support forum at http://www.zen-cart.com/forum.php
Further, an existing article already explains the basics of the problem you describe: http://www.zen-cart.com/content.php?277-the-paypal-account-in-this-store-is-presently-misconfigured-to-use-mixed-sandbox-and-live-settings-we-are-unable-to-complete-your-transaction-please-notify-the-store-owner-so-they-can-correct-this-problem-10002
It is absolutely critical that the THREE parts of your API settings (username, password, signature) be copied EXACTLY from PayPal's site into your store's admin settings screen.
There's no need to use sandbox unless you're a programmer writing new features for payment processing. So be sure to check the "Live" radio-button. (I realize you already mentioned that. Just adding this for clarity.)
You can also get more details on exactly what is coming back from PayPal by turning on debug logging in the module's settings.
PayPal tech support is available at www.paypal.com/mts - they can look at your actual transmissions and at your account, and sort out a problem if there's something wrong with the API signature details.

s2Member subscription modification button not working in PayPal SandBox mode?

This question is relevant only for those familiar with the WP plugin "s2Member".
I've been trying to allow a "Free Subscriber" (level #0) to modify her subscription to a paying customer (level #1, for example) using a "Subscr Modification Button" carefully following s2Member's instructions.
In particular, I wanted the user's status to be changed due to the checkout in PayPal.
But the PROBLEM was that instead, the user kept on being redirected (after the PayPal process) to REGISTER for a new username for the site!!! The original existing user who started the process remained a "Free Subscriber" (and the new username, btw, would have a "level #1" access if created, but this is NOT what I wanted -- I wanted to MODIFY the existing user).
p.s. I'm using PayPal in SandBox mode, a feature which s2Member claims to support.
I assume your question is has anyone else experienced this problem? If so, my answer is "yes."
I just tried following the instructions demonstrated by the official video tutorial on my local WordPress installation with PayPal in sandbox mode. I logged in to my local WordPress site as a Level 0 (free) Subscriber and immediately after clicking the "Subscription Modification Button" that I created, I was asked to login to a PayPal sandbox test account. After logging in and paying to upgrade on my PayPal sandbox store, I was returned to my local WordPress install and greeted with the news that my Level 0 user account was not upgraded and this message which appears to indicate that testing subscription modification in sandbox mode is not possible because it requires email confirmation:
link to image
I went ahead and notified s2Member support of this predicament to see if they have anything to say on the matter.
Lastly, I think this question would be better suited on WordPress Answers.