S
S
Space Around2020-08-20 18:50:35
PHP
Space Around, 2020-08-20 18:50:35

How to process requests from PayPal (PayPal API)?

I'm trying to figure out the PayPal API, do I understand correctly that if the PayPal servers return the status of the Pending transaction, then it is necessary to write all the transaction data to the database, after the transaction has the status Completed or Canceled, then delete the corresponding record from the database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Spartak (Web-StyleStudio), 2020-08-20
@Spartak-2205

PayPal still has a certain period, the payer can dispute the transaction during this period. So it's better to store all transactions in the database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question