I integrate PayPal in my Symfony 4 App, but in sandbox payments still need to validated as we see in the picture behind.
How can I get payments accepted automatically ?
and I'm asking also if in Live mode, I'm going to have the same problem because I didn't have a business account to test it.
Is the issue that the payments are "PENDING"? Is the PayPal sandbox email not confirmed?
Log in with Sandbox account at https://www.sandbox.paypal.com/businessprofile/settings/email to check and resend any confirmation email
Then log in with Live developer account at https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fnotifications%2F to read the message notifications and confirm the email
One of the reason of that happens when the currency of the payment is not the same with the Paypal JS loaded script in client size.
So What you don't know that in the script loaded, the default Currency is USD, So you have to specify the currency in this script :
<script src="https://www.paypal.com/sdk/js?currency=EUR&client-id={{ data['clientId'] }}">
So in this case if the client pays with EUR, the payment is auto-accepted, else, you have to configure the strategy in Settings when you have two different currencies, So you have to login with your Business Account, then go to the Account Settings > Payment preferences > Block Payments.
Related
I am testing my payment integration using PayPal Sandbox
When I go to make payment using a sandbox account, the following message displays on the payment page
To use your balance next time, go to your PayPal account for an
identity check.
If I log into the sandbox account, I am not seeing any way to do this.
How do I set up the sandbox account so that it can use PayPal funds for the payment rather than the credit card option?
It doesn't matter how you are funding the payment in sandbox. There's no actual reason for you to be bothering to care about this issue, since the result of a completed PayPal payment on the receiver end will be identical.
But since you ask, you can create a bank verified account via https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Faccounts%2F
I have setup two sandbox accounts with PayPal.
owner#example.com as the main business account
buyer#example.com as the payee/client account
I have tested my IPN script through the sandbox IPN simulator, and it works.
Now I am trying to test a subscription button where buyer#example.com signs up for a 1 week free trial subscription to owner#example.com
I have turned on IPN notifications in the owner#example.com sandbox account and have created and saved a custom button with the notify_url=http://example.com/ipn.php value set in section 3 of the custom button creator.
And after creating a subscription with buyer#example.com and a payment to owner#example.com ... the data is being shown in the sandbox account when I log in, but no IPN notifications are being sent to my http://example.com/ipn.php as I had specified. And there is no ipn history being shown on the sandbox paypal account history, either.
Has anybody encountered a similar experience? I am not receiving anything from PayPal after sending the test payments via sandbox.
What gives?
With subscriptions you're going to need to configure IPN in the PayPal account profile. It won't use the notify_url value for all of the payments on a profile. It will only use the URL (if any) configured in the profile.
I've stuck with PayPal Standard payment for OpenCart and found no solution yet.
What I've done:
Created a business account on sandbox.paypal.com
Set up following web preferences:
Auto return (URL specified)
PDT enabled
Enabled IPN (URL specified: http://my.domain.com/index.php?route=payment/pp_standard/callback
Created personal account on sandbox.paypal.com
Set up PayPal Standard extension in OpenCart:
Specified e-mail of the business account created above
Specified PDT token
Specified Sandbox mode
Transaction method - Sale
When I try to pay with PayPal I'm redirected to PayPal and pay proper amount. Then I'm automatically redirected back to my site by URL specified in PayPal business account's settings. So this tells me the payment recipient is recognized by PayPal.
At this point joy ends. In the sending account's activity log I see sending transactions. All of them have status Unclaimed. In the business account's log I see no transactions. In the IPN history I see no IPNs and in the web server's log I see no requests to /index.php?route=payment/pp_standard/callback.
I'm certainly missing something. But I can't figure - what.
In Paypal checkout section in open cart admin panel, go to the general tab of that, you will find test mode option, set it yes. and for debugging mode set it yes. Check your checkout process now. i think it will solve your problem.
I was having a similar issue a while back. For me, it was because the payments being sent to OpenCart were in a different currency to what was held in the Sandbox balance. E.g. OpenCart was sending orders in GBP but the Sandbox holds currency in USD.
I fixed by changing a setting in the Sandbox account.
Profile > My Settings > Block Payments > Click Update
On the page which appears, there is an option "Allow payments sent to me in a currency I do not hold:". I just set that to Yes.
New to the wonderful world of paypal payments.
I have a simple button which works great on my merchant account when the user is a paypal user. However, when a credit card only payment is submitted, I get:
We're sorry, but we can't send your payment right now
We are not able to process your payment using your PayPal account at this time.
Please return to the merchant's website and try using a different payment method (if available).
I have triple checked that the merchant account has the "Accept non paypal payments" checked. The merchant account was setup about two weeks ago. It is a business account (as opposed to a business pro account). I have checked and rechecked the rest of the options over and over. I use a new chrome incognito window for each test to avoid cookie/session issues.
I have tested using the sandbox. Credit card only works fine.
My button code looks like:
<script
data-tax="0"
data-shipping="0"
data-amount="5.50"
data-quantity="1"
data-name="Team Reg U15 Boys Intergraph"
data-button="buynow"
src="/nafutsal/bundles/ceradteam/js/paypal-button.min.js?merchant=KDTT4D89UN6DN"
></script>
The amount is small for testing but I didn't see an actual min limit anywhere.
Any idea why credit card only payments do not work in production?
Ok. So I had a long conversation with paypal support. The credit card transaction was failing because I was using one computer for both sandbox testing and production testing. Using an incognito browser window was not enough.
I'm sure this is all documented somewhere.
I've been trying this for few days. I've created some seller accounts, one of them I created early this year and it was working fine. Then when I return for this project this March, Paypal changed the API from x.com to developer.paypal.com. The old seller accounts were still working fine and can still accept the digital goods payments from the payer accounts that I created recently, however the new seller accounts, with BUSINESS type, suppose to be able to pay and accept payments got some issues. These newly created seller accounts receive the following warning:
You are not signed up to accept payment for digitally delivered goods.
Doing some research with google, I released I have to set the paypal business account for digital goods. But I can't find where to set it from the new paypal developer control panel. Even when I tried to log in to the sandbox version of paypal.com, using the seller accounts I created in the sandbox, I still can't find where I can set it. In my business setup, there are only two options for me, one is Paypal payments pro and other other is "Virtual Terminal". Any idea? Please help....
I've found the way to add express checkout for digital goods in sandbox, but I think Paypal should pay attention to this because the way I used was very clumsy.
First sign in to sandbox and choose a business account to log in to the sandbox by using the url provided in the Application/Sanbox Accounts. Then use the account that you want to set to accept digital goods checkout to log into the sandbox url, it should be www.sandbox.paypal.com/us/home
After logged in, go to my business setup and pay attention to the setup my payment solution. Click the view all products and you will be redirected to a new page. Please note the url now, the "sandbox" is missing. Now click on the express checkout button, or whatever you want to add to the payment solution, you will be redirected again. Now pay attention to the url, insert "sandbox" to the url, e.g www.paypal.com you have to replace it with www.sandbox.paypal.com, the rest of the url remain the same. Then press enter you will be redirected back to the business setup page. Now you can see your payment solution has become express checkout. It is stupid and I hope paypal can let us choose this directly from the control panel in the near future.
An alternative hides in Profile > My selling tools > API access > Update > At the bottom - Enable Express Checkout.
When I later go to My Account > My Business Setup I see: "Your payment solution: PayPal Digital Goods (Express Checkout)"