React-Native-Paystack-WebView icon indicating copy to clipboard operation
React-Native-Paystack-WebView copied to clipboard

the ref Usage is not working

Open sheggietyn opened this issue 3 years ago • 3 comments

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 avatar Sep 17 '21 02:09 sheggietyn

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

sheggietyn avatar Sep 18 '21 16:09 sheggietyn

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....

coolheaded1 avatar Dec 18 '21 09:12 coolheaded1

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

kvngcheerio avatar Aug 01 '22 10:08 kvngcheerio