how to open the paypal payment dialogue with a custom button?

froot
New Community Member

To be DSGVO (GDPR) compliant I need a button that says "zahlungspflichtig bestellen" in german and then, depending on the payment method the user selected, continue with opening the paypal payment dialogue or something else respectively.

So I want to add an event listener to a custom button and call the function that a normal paypal button would run on click natively. Looking at the script, it all seems to happen behind the scenes (I reckon as some sort of security measure). All I see is

 

paypal.Buttons({…}).render('#paypal-button-container');

 

How do other austrian/german apps handle that since it's required by law what the last button below the order summary should say. 

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.