Hey, this is the first time I am using Paypal API, and I am trying to understand the best practices regarding how to get the event of users paid and where to store the client ID. My app has a one-time payment every month, or users can buy subscriptions that will automatically pay every month. Currently, I am storing the details in the client ( there is only one option on how to pay, which is the fixed amount ). I saw this video on how tPayPalpaypal and he uses a library that library has been achieved; I am trying to find an alternative on how to achieve the same effect if it is neccary. My second problem is that I need to react to when a payment is made, which means when the user paid, I need to send a message to my API to change the user status to paid; I am trying to understand if it is better to activate the event on the client after we are running actions.order.capture() or in the server, if it is event possible. Summary: How do we implement payment most securely? where to store the client id how to have an automatic subscription plan how to react to paid event how to get all payments by each user
... View more