Paypal sandbox payment succeeded but not showing in sandbox summary - wordpress

Hello Everyone i am using pay-pal sandbox for pay-pal express checkout. I am getting success and my payment Id, token id and payer Id also generated. But when I am going to sandbox summary, its not showing under my payment transactions.
Can someone please tell me what i am doing wrong? If payment got succeeded then why its not showing in summary area.

Sounds like you are using REST API and you have successfully "Create Payment".
You will need to fully run "Execute Payment" to complete the transaction. You can refer here for more information:
https://developer.paypal.com/docs/api/payments/#payment_execute

Related

Cards won't work with paypal sandbox testing

I'm trying to create a simple subscription payment on sandbox PayPal.
I have a business account on sandbox, with which I have created a subscription plan.
Furthermore, I have a test user on sandbox with a credit card generated here: https://developer.paypal.com/api/rest/sandbox/card-testing/
Everything works fine but when I get to the payment confirmation I get this message: "Sorry, cannot use your chosen payment method to set up subscription item. Please try other payment method"
I tried using other cards or creating another test user but I always get this same error.
I've also posted the question in the paypal community but didn't get any response: https://www.paypal-community.com/t5/Sandbox-Environment/Subscriptions-payment-declined-because-test-card-not-working/m-p/3023752
Second problem: When i make a simple payment it works fine, but when I try the pay in 4, it tells me to setup a card (even though I already have a card setuped) and when I try to resetup it on the payment modal I get the error : "We cannot process your request at this time. Try again later."
I thought maybe if I add credit to my test account I can bypass this. But when I go to the page to add credit (https://www.sandbox.paypal.com/myaccount/money/addmoney/topup) it's blank and there are errors in the console.
So I tried to send money to me test account from another account and it doesn't work either...
I was wondering is there like an option or something I have to activate or disable in the settings so my test will work, or is the PayPal sandbox environment just bugged ?
If you need anymore informations or details don't hesitate to ask, I'm not sure if my explaining was clear.
Create a new sandbox personal account at https://developer.paypal.com/dashboard/accounts . Use that account to test the subscription.
The result of Pay in 4 payments is a PayPal payment. You can already test PayPal payments without Pay in 4 as a funding source. So, do not test Pay in 4 in sandbox. There is no reason to.

How to fix TRANSACTION_REFUSED error in WooCommerce PayPal Payments plugin

Am using WooCommerce with WooCommerce PayPal Payments plugin, on checking out (live environment) am getting the error below;
[UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED
To add on, sandbox works without any issue.
I will be grateful for any assistance.
TRANSACTION_REFUSED is not a technical problem, and so cannot be fixed. It is a decline by PayPal.
Have the customer use a different payment method, or contact PayPal for information about why the payment might have been declined.
Note that payments to your own production account are not permitted. If the payer information is at all connected to the receiving account, this is why it was declined.

About Paypal payment error

Good day all,
I am trying to add payment function (Paypal) to my website. I generated the code from Paypal and managed to put on my website. However, when I was trying to log in to my account as customer to make the payment. i got this error message:
Sorry, we cant complete yur purchase at this timing. Please return to the merchant and choose another way to pay
Any idea what the problem is and how to fix it? or if you all can suggest any other better payment function other than paypal for asp.net?
Thank you

I cannot find my test payments in sandbox

[SOLVED - Sandbox bug?]
I'm trying to setup a paypal payment with IPN.
The IPN works well and gives me the right answer but:
-I cannot find the test transactions in my sandbox business account page list (only in the sandbox user account of the payer as pending)
-The transaction ID shown in receipt page when I pay is different from the one stored by the IPN script (for example 2P3936636X9979307 in receipt page and 36E923443V406174V in the IPN for the same transaction)
Where is the mistake?
Thanks
Tommaso

How do I fetch the Transaction ID from PayPal website to my web site?

I am using Paypal sandbox testing module in my Shopping cart site. I have test account in paypal sandbox. i am sending amount to paypal. After payment success when retun back to my web page I want to get transaction id and amount.Kindly help me.
You probably want to use Paypal IPN. You can get the Paypal transaction id, amount, and a slew of other information, using Paypal IPN. Basically, this is where Paypal will do an https post back to your site after a transaction, and send all of the info for the transaction. See https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNIntro/ for info.
You need to specify redirect url.You can have two urls one for success and other for failure.Thats how i implemented it in one of my project (Dont have it now with me for reference).
Take a look here or here.This link has an sample project.It may help.

Resources