I'm implementing PayPal payment method.
Let's have this situation:
- customer confirm order on my e-shop. After I have recieved order confirmation (he submitted order-confirmation form), I create a new payment (via REST API and Paypal's PHP SDK, but it doesn't matter) and since now, the payment is in state 'created'. Then user is redirected to payment's approval link - so he can log in and approve payment for his order. But in this moment, he closes his browser windows or connection breaks up, etc. So he did not approve or cancle payment - so if i get payment through REST API, it is still in 'created' state.
What I am asking for is whether Paypal will automatically move payment to another state (falled/canceled) after certain time since payment was created, but not approved. (I found something about 3-hour period?)