Unable to test credit card in PayPal sandbox using "Pay with a debit or credit card" option - paypal-sandbox

I am unable to test a purchase using a credit card in PayPal sandbox using "Pay with a debit or credit card" option. I am using the current version of Chrome in an incognito window using a Windows 10 VM, 4111111111111111 as the test VISA card (from https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm), 01/19 as the Exp date, 123 as the CSC, and fake customer info generated randomly. Every time I click the Pay button, I receive the error message "You might already have an account, Please login." I have repeatedly cleared all info in the browser and cache and used a new VM, but no change.
I did not have this issue a few months ago (last time I tested), when I was able to use several test card numbers successfully in sandbox.
What gives?

Only credit cards issued to a PayPal buyer (personal) account will work now. Cards issued by random number generators do not appear to work, unless someone else has a answer to this...

I would suggest just generate any test credit card from a card-generator site like http://credit-card-generator.2-ee.com/ and use that card. Hopefully it should work.

Related

nest-device-access payment error with credit card

I am trying to set up my personal Google account with nest-device-access. I am following the instructions and I am trying to pay the one time $5.00 fee.
I am going to this page: https://console.nest.google.com/device-access/tos and when I click on the "Continue to Payment" button in order to complete the one-time-fee, a list of my payment method is presented.
None of the are working.
I select of of my credit cards and after been asked for the verification code from the bank, the following error appears "An unexpected error has occured. Please try again later [OR-RWE-02]"
error OR-RWE-02
My google account is in good standing. I have multiple payment method active and the information is valid because I have active monthly subscriptions.
I also get in touch with the bank and they told me that the problem seems to be related to the strong authentication method applied which is not compliant to PSD2 required into the CE
What am I missing?

NopCommerce PCI

Running NopCommerce 3.40
I think i read somewhere that NopCommerce's Shopping cart is PCI compliant. It also looks like NopCommerce's shopping cart stores Credit card data.
1.) So what does this PCI process do?
2.) Is it just a fashion of encryption of data as it passes to the database?
3.) Is it my fault if the hosted database say from GoDaddy gets hacked for a bunch of credit cards?
I don't know why NopCommerce is storing Credit Cards. I think I have to figure out how to disable that part. I mean if I don't then I need to purchase a PCI Certificate?
EDIT :
I did some more reading. It looks like if I use Stripe or another third party gateway no Credit card information gets stored. I think only Manual Payments credit card information gets stored. Is this right?
1) PCI-DSS stands for Payment Card Industry Data Security Standard. The standard guides you so you know what are you doing with the cards data and that it is secure enough, given your transaction volume, data collected and stored, etc.
2) It is not. Basically, it says that if the card data (CC number, CVV code) ever pass near your system (in a logical sense), then you are in the PCI scope, and have to comply or the acquirers (banks) won't talk to you.
3) I think you'd be liable, look into GoDaddy disclaimers.
I doubt there's anything like 'PCI compliant shopping cart'. This is how you process the payment, as in, can your javascript access the CC number input box, can your router see the unencrypted CC number, etc.
In your case, I assume a small e-commerce, I'd look to outsource the payment page. Be it Stripe, PayPal, Skrill, Neteller, whatever makes you never see the data except for the income amount.

How do I get my sandbox paypal account to accept a CSC number with my fake snadbox credit card?

How do I get my sandbox paypal account to accept a CSC number with my fake sandbox credit card number ?
I created a sandbox account with a sandbox credit card number and Expiration date. Paypal did not provide me with a CSC 4 digit number that I need for the Master Card number and Expiration date it generated for my sandbox account.
I did research and read other questions on stak overflow. From the answers I received I was told that all you need to do is provide a CSC number with 0's or any digit and it should go through and process the transaction for testing.
I also made sure that the credit card was not associated with an existing PayPal account and used faxe credit card numbers with a fake address and name but it did not work.
kind of new to doing this as a developer and running tests.
Any help would be greatly appreciated.
When testing through the sanbox only the paypal test creditcard numbers will work. The CSV matching those numbers you can make up yourself.
The list of testing numbers is shown here:
http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm

Implementing gift card

I'm meeting an issue to implement gift card in an e-commerce website working with paypal.
I'll try to be as clear as possible.
Once the user has validate his cart, he can enter a code as gift card to get a discount. The gift card (and the code) can be used only once and it isnt linked to the user.
So when the user enter the code, I check if it exist if it allready has been used, get the discount and so on...
On the postsale of paypal (once the paiment has been accepted), I set the gift card as used.
Now, how can I prevent the gift card beeing used twice (or more). Because when user enter the code and goes to paypal, another user can use this same gift card while the first user did'nt confirm the paiment (and didnt process the postsale).
I thought giving a status to the gift card, for instance 'In use' before redirecting to paypal but if the user leave paypal without confirming his purchase, the gift card will always be InUse and then I wouldnt be able to check it again....
I hope I've been understood and thanx for your help :)
Well, you could check if the code has been used when they enter it, then check again at the point of the transaction being completed. The second check would have to be implemented carefully, with a single locking database transaction that checks if the code has been used, then marks it as being used.
If the code had been used by someone else before the transaction is completed, the transaction would have to fail with an error. However, presumably this would be quite a rare case.
Beyond this, I wonder if you should rethink your design. A single-use code that is not linked to a user seems unusual--normally this would be linked to a specific user, which would make it easier to handle. What is your use case?

Recurring billing variable amount without storing credit card information

I have implemented few payment websites using PayPal Standard, PayPal Website Pro, PayPal Express and Authorize.Net.
Now I'm implementing a website which requires recurring billing. My only problem is variable amount, since I do not store credit card information, and amount is not fixed in each cycle.
Can we use either PayPal or Authorize.Net for my project? If not, could you please recommend any reliable payment gateway ($US for payment, and gateway located in US please) for that matter?
You can use a service like Authorize.Net's Customer Information Manager (CIM) to store the credit card and billing information for you and then you create your own scheduling engine that charges against the payment method you have stored for them using CIM. CIM also allows you to make off-cycle payments at any time as well.
Well the variable amount to bill shouldn't be a problem if you can put together whatever formula would be used in code. However if you aren't storing the actual credit card info (and I can understand why), then I don't see how you'd be able to charge the customer every month. Normally you need a credit card or bank information to do a direct transfer.
If you absolutely cannot store the information, then the only thing I can imagine is putting together an automated calculation and notification system that can send the customer an email with a link that brings them to a form so they can enter the information as simply as possible. Otherwise you'll need to save their credit card info somewhere secure and simply bill them every month, which isn't uncommon.
Have you looked into PayPal's IPN variables?
https://www.paypal.com/cgi-bin/webscr?cmd=p/acc/ipn-subscriptions-outside
Typically you have to cancel then reapprove a new subscription... but perhaps you can use the variables some how to do that programmatically.
I found a solution. PayPal calls ProcessReferencePayment.
At first, I need to charge the credit card using DoDirectPayment, and store the successful transaction number.
After that, I just call DoReferenceTransaction along with OrderTotal and ReferenceID (the previous transaction number).
DoReferenceTransactionRequestDetailsType
DoReferenceTransactionReq

Resources