Apologies if this question has already been asked. I've been hunting around for a few hours and haven't found an answer to my problem.
I am pretty new in working with the PayPal api's, so please forgive me if I am blatantly missing something here.
I am setting up a test environment to gain an understanding of how to build a web checkout using the Express Checkout library in PHP. I have set up both a buyer and a merchant seller account and have used some of the examples in the PHP SDK to help me build a basic HTML input page, and ultimately succeed in transferring the funds from the buyer account to the merchant account.
The problem that I am having is that when I have completed in sending the money, and I then log into the buyer's sandbox account, I can see that the money was sent to the merchant, however the transaction has been tagged as "Unclaimed". Looking at the details of the transaction, it has been sent to the correct merchant sandbox account. When I then log into the merchant account however, there is no sign of the transaction.
I am using the "Sale" payment type.
Any help would be greatly appreciated.
Make sure the email address is verified on the sellers account. If you still don't see it, can you provide the transaction id, the test sandbox buyer email address, and the test sandbox seller email address and I can take a look at it on my side.
Related
Is it possible to be the middle man for a Paypal transaction without having anything thing to do with the transaction (PayPal account wise)
so the buyer pays directly into the seller's account and my site verify's the purchase (somehow) and emails download link.
How is this done and yes this is a coding question since it involves PayPal API and possible PHP workaround.
Any help would be happily received.
Yes, you should use Paypal adaptive payments to achieve this. Note that you need a PayPal Business account. A related question with answer: Online payments for a middleman
I have created an paypal adaptive transaction system. Using sandbox for testing my code.
But, For checking that my code is working for successful transaction which account be used for buying in test mode ?
Already, I have tried to buy using my sandbox business account credentials but it say wrong email or password . Could you suggest me about it ?
I added a figure in below:
I am awaiting for an affirmative response from you. How can I check it?
You said that you are using sandbox environment for testing paypal transactions, but I can see that you webpage it's on paypal. Therefore any sandbox accounts won't work on the sandbox environment.
You need two accounts created in sandbox:
one for business ( type of account needs to be business )
one for purchases ( type of account needs to be personal )
Also, make sure that any form action attribute points to sanbox.paypal.com not paypal.com
Hope that helps
EDIT: you can make purchases using the personal account
I am developing a website with PayPal integration for people to pay money. At my PayPal payment page there contain form for buyers to make payment without PayPal account. During the sandbox development, everything works fine. Now, I am using real account. The problem is, now buyers can't pay without login. When try to pay with the form, PayPal return error saying:
You cannot use an e-mail address or card number that belongs to an existing PayPal account. If you have a PayPal account, please log in. If you don't, please change the e-mail address or card number and try again.
The thing is, I have tried it with card number and email that has never been used with PayPal, but I am also getting the same error message.
Do you have any idea why it happen? How can I solve it?
Thank you.
I think its the cookie issue, Check out this link
I have problem with paypal sendbox testing account. I am trying to reproduce failing transaction when there is no enough funds but even when i make PERSONAL test account with 0$ i always get transaction complited and money is always transferd on BUSSINESS account. When i try to pay i get this message:
PayPal will use Discover XXXX-XXXX-XXXX-0295 to fund this transaction
if your bank does not have enough funds.
So every time it draws money from that card, but when i try to delete that card from PERSONAL user i am rejected.
Do you know what can cause this problem? :/
You can create test accounts without bank / balance / card.
Though if that's the case and the account doesn't have any funds, the buyer will be asked to add a card to his account prior to being redirected back to your site.
If you'd like to test a card decline (which is different than testing a PayPal account with no funds), enable 'Negative testing' on your buyer test account and set the 'amount' the AMT='104.86 for API error code 10486, or AMT=106.06 for API error code 10606.
See also https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/ht_ec_fundingfailure10486/ for more details about testing the API error 10486.
I am creating a PHP website. Here a portion is customer can pay to website owner from paypal,visa and master card(debit/credit). If transaction successful customer will get a confirmation notification and website owner will also get a confirmation notification.
I did not a work like online transaction before!! What is the best and secure way to do this?
Any help or source code is highly appreciated!!
Take a look at the Paypal API.
for paypal you need to Set up a business account with PayPal and read the documentation for their Express Checkout integration.
for visa and mastercard please check this answer