cocoastorm / vue-paypal-checkout

A simple Vue.js wrapper component for paypal-checkout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to write the address

mjfxdd opened this issue · comments

I don't know how to send the address to paypal. I hope I can choose the address on the page and pass it to PayPal instead of checking the address in PayPal after it logs in.
Can you tell me how to transmit and how to write the data?
Thank you very much.
image

That's what the official document says, but I don't know how to write it in vue.

image
image

Hey @mjfxdd,

Sorry for the late reply! I checked the PayPal docs and you're right this doesn't seem to be exposed in the component anywhere. I'll make a slight addition where you can pass in an shipping-address prop.

Side note, I'm currently not very happy how some of the props are completely different to how PayPal has it laid out but this can be tackled in another issue.

Hey @mjfxdd,

Just an update I released v3.2.0, which should have the shipping-address prop available for you to use.

Thanks!