I'm using PDT, when the payment_status is Completed, I update my database and exchange the amount to credit. For example, 30 USD to 30 minutes of service.
I worry that someone make a payment and with payment_status pending, in that case my application would not perform this exchange. So, what will happen when payment is finally completed?
- PayPal will send me a notification?
- Should I constantly asking to PayPal for payment?
On the other hand, what if my application will meterito falls and can not process a payment made in PayPal, there's some way to tell PayPal "Hey, I've already process the payment, save it"?
Thanks.