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

the ref Usage is not working #80

Open
sheggietyn opened this issue Sep 17, 2021 · 3 comments
Open

the ref Usage is not working #80

sheggietyn opened this issue Sep 17, 2021 · 3 comments

Comments

@sheggietyn
Copy link

i wanted to use my own personal button so I tried the Ref usage in the documentation but it keeps saying unexpected token no matter what I change

the issue is from here

const paystackWebViewRef = useRef<paystackProps.PayStackRef>();

@sheggietyn
Copy link
Author

i was able to solve the ref issue but these are the new problem I observed:

1 billingName: billing name does not send a billers Name to Paystack, I have tried a lot of ways it didn't work, likewise the Billing phone number too

@coolheaded1
Copy link

i was able to solve the ref issue but these are the new problem I observed:

1 billingName: billing name does not send a billers Name to Paystack, I have tried a lot of ways it didn't work, likewise the Billing phone number too

Kindly provide solution here....

@kvngcheerio
Copy link

Use const paystackWebViewRef = useRef(paystackProps.PayStackRef); instead of const paystackWebViewRef = useRef<paystackProps.PayStackRef>();

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

3 participants