Getting trxId from PayPal buttons API when sending the request

I’m working on the integration with PayPal using the Smart Payment Buttons, and I need to catch the trxId generated when the user presses the “Pay With PayPal”, when I print the info on the …

PayPal smart button switch to subscription / recurring donation

I’ve managed to get the PayPal smart button working, but would like to know if it’s possible to switch the payment button to a subscription programmatically after it’s been rendered? And what the best …

PayPal JavaScript SDK – understand security problems on the client-side

I´ve recently implemented the PayPal JavaScript SDK in my Angular 11 project (implementation reference). It seems to work flawlessly, however, I started to think that it might be possible to modify …

How do I get the subscription status of a user in PayPal subscription API

I want to get whether the subscription is cancelled or not by the user in a certain period of time and if the subscription is cancelled I will block user from using some of the features how do I get …