Skip to content
This repository has been archived by the owner on Mar 21, 2020. It is now read-only.

how to write the address #68

Closed
mjfxdd opened this issue Nov 22, 2018 · 2 comments
Closed

how to write the address #68

mjfxdd opened this issue Nov 22, 2018 · 2 comments

Comments

@mjfxdd
Copy link

mjfxdd commented Nov 22, 2018

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

@cocoastorm
Copy link
Owner

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.

@cocoastorm
Copy link
Owner

cocoastorm commented Nov 27, 2018

Hey @mjfxdd,

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

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants