Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing Payer details in option prop??? #114

Open
2 tasks done
trig79 opened this issue Aug 13, 2021 · 1 comment
Open
2 tasks done

Passing Payer details in option prop??? #114

trig79 opened this issue Aug 13, 2021 · 1 comment

Comments

@trig79
Copy link

trig79 commented Aug 13, 2021

To Do First

  • Take a look in the README
  • Take a look in the docs

Ask your Question
Hey

is it possible to pass the payer details via the options prop, to allow pre-population of certain fields?

const testdata = {   
		payer: {
			email_address: 'hello@hello.com',
		},
	}
<PayPalButton
    options={testdata}
/>

appreciate any guidance

thanks

@Wamy-Dev
Copy link

did you ever solve this?

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

No branches or pull requests

2 participants