404 Payments with a PaymentID given by the API

Purhur
Contributor
Contributor

Hello,

 

i implemented a payment via the paymentpage and the PHP SDK for a online store.

 

Now after a lot of successfully payments there are some which return a 404 Error.

 

It looks like the customer was able to get to the whole process on the payment page and returned to the store.

As i made the payment i stored the payment ID which was returned from the paypal API.

 

Not i check the payment status via a REST API Call and it says that the Payment is 404. How is that possible? I got a valid Paypal TransactionID. How is this now 404?

 

Greetings

 

 

Login to Me Too
3 REPLIES 3

Nexus_Software
Contributor
Contributor

Hello @Purhur ,

 

Is it possible that you a querying the sandbox endpoint sometimes?

Login to Me Too

Purhur
Contributor
Contributor

I dont think so. The configuration for the paypal api is in the same file as the general database configuration. If this could not be loaded the whole application would crash.

Also i did not find the payment IDs in the sandbox api also. How often is the sandbox enviroment cleared? I think one payment was only two days old. 

Login to Me Too

Nexus_Software
Contributor
Contributor

Can you post an example of the call that you are making?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.