Integrate a new Paypal Javascript SDK in ionic

Hello

Has anyon already use the new Paypal Javascript SDK and can help me with an example code?
I need add a simple Button PayPal that send to PayPal Page.

I tried to insert the code that I found in the topic PayPal Donate With Ionic but it does’t work and I don’t understand witch is the problem.

I read a note, in the PayPal site, that from feb 2019 the old script, “”, is deprecate, and it should be used the new PayPal sdk is it true?

TIA
Giovanni

@alfanet Are you using Ionic v3? If so, I hope this post might help you - PayPal Donate With Ionic .
:slightly_smiling_face:
Btw, regarding the deprecation, I believe only PayPal can answer that better. :slightly_smiling_face: