I cannot find my test payments in sandbox - paypal-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

Related

WooCommerce order status not getting assigned properly for PayPal payment

Scenario
I'm using paypal sandbox account for payment right now and I've set it up correctly , the order is getting successfully placed if I use paypal payment while checkout. But the status should be completed but its not assigning that.(I'm trying this with virtual product only)
I've already read several articles related to same issue and I only found that if it is set properly then the status should be completed or either I've to set it manually by using code(but is this only way? and is it proper?).
Following are the observations from admin side:
On Order Notes -
Payment pending (unilateral). Order status changed from Pending payment to On Hold.
Paypal log(only last 3 lines as it was huge) -
2019-03-08T11:40:45+00:00 INFO Received valid response from PayPal
2019-03-08T11:40:45+00:00 INFO Found order #9985
2019-03-08T11:40:45+00:00 INFO Payment status: pending
The typical cause of this is a mismatch between your paypal details.
When you signed up for Sandbox Paypal you we're given a sandbox email address. You must make sure you're using your Sandbox email and not your standard Paypal email address.
You can also try looking in
Woocommerce > Settings > Products > Downloadable Products
And make sure you have the grant access after payment box ticked.
http://cld.wthms.co/ZExhMq
In my case, it was happening because I had created both facilitator and the buyers account separately via https://sandbox.paypal.com in contrast both of these accounts should be created in https://developer.paypal.com > sandbox > accounts.
When I had created the account separately the email address was not getting verified, I think that could be the reason for it not to work also when the user accounts are created from (https://developer.paypal.com > sandbox > accounts) you can see notifications for each account and perform an action accordingly.

Paypal sandbox payment succeeded but not showing in sandbox summary

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

Error with paypal sandbox account during testing of payment

I want to implement paypal IPN at my website. For that purpose I created 2 paypal sandbox accounts of type business (seller) and personal (seller) through my paypal developer account. Thereafter I created buy now button at my paypal sandbox business account with item name, code, price etc. and generated a code for buy now button, pasted it on my website. For first 2 weeks testing work smoothly after it started giving errors like
Sorry we cannot complete your purchase at this time. Please return to the merchant and choose other way to pay
Hence again I created 2 separate sandbox accounts, again same problem happened after 2 weeks. What is the reason behind this type of errors and how to rectify it?
This type of error is mainly due to using same credit card or banking account at buyers sandbox account.One need to use different credit card and bank account for too many test transaction performed through sandbox accounts.

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.

Paypal sandbox. Unable to confirming bank account on test accounts and buy subscription

I have created several preconfigured buyers test accounts over the week. Not a single one of the generated bank acount is confirmed. I have gone through the steps on the documentation to no avail. On some of them it errors on the continue button under complete bank setup. It has a Deposit not sent on the Bank Account details above the button. Is says Sorry, an error occurred after you clicked the last link ... We are sorry, we are experiencing temporary difficulties. Please try again later. If this error occurred while making a payment, avoid duplicate payments by checking your Account Overview before resending a payment. I have cleared cookies and all cant move forward. On others I get to do the full submission and get to the end with a congratulations u have confirmed your account. However on the test account site it shows unconfirmed.
Also I cannot purchase a subscription at all with any of the accounts. It says cannot use this card please choose another source of funding.
Thanks for your help
I just tested this set-up. If you create a preconfigured personal buyer account from developer.paypal.com, the bank account should already be confirmed and verified. When you create a preconfigured account make sure to select "Buyer (use to represent your customer's experience)" and not "Buyer In-store (Use to represent your customer's experience with in-store checkout)". The In-store checkout does not give you a confirmed bank account.
When you create a In-store checkout Buyer Account, you will see the following error: Account Created Successfully but failed to add Credit Card and Bank.
To test a merchant transaction, you must use a test Business Account
To test a buyer transaction, you must use a Personal Account

Resources