cocoastorm / vue-paypal-checkout

A simple Vue.js wrapper component for paypal-checkout
MIT License
153 stars 67 forks source link

How can I change the button text ? #80

Open slamghost opened 5 years ago

slamghost commented 5 years ago

Instead of "Paypal" in would like to show Pay here or just "Pay"

Regards

Benoit1980 commented 5 years ago

Try this page here, scroll down and check all the styles.

The closest you will get with an unbranded button is to add this in your data() object: buttonStyle: { label: 'buynow', size: 'large', shape: 'rect', color: 'gold' },

Then this in your button:

I don't think Paypal will let you add anything else is not in the page I gave you. Unless someone else has a solution for it. Hope this helps.
slamghost commented 5 years ago

Thanks @FreddyCrugger

I changed the locale param and the text it's not bad at all. Regards

Benoit1980 commented 5 years ago

Great it worked out!