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

Razorpay iOS not working #43

Closed
NajneenMomin opened this issue Dec 13, 2017 · 5 comments
Closed

Razorpay iOS not working #43

NajneenMomin opened this issue Dec 13, 2017 · 5 comments

Comments

@NajneenMomin
Copy link

I have done the setup according to the docs
https://github.com/razorpay/react-native-razorpay

But when i try to checkout the below method is not working. It does not open the checkout page.

RCT_EXPORT_METHOD(open : (NSDictionary *)options) {
NSString *keyID = (NSString *)[options objectForKey:@"key"];
id razorpay = [NSClassFromString(@"Razorpay") initWithKey:keyID
andDelegateWithData:self];
[razorpay setExternalWalletSelectionDelegate:self];
dispatch_sync(dispatch_get_main_queue(), ^{
[razorpay open:options];
});
}

razoorpay object is returning null after init. Due to which the open:options method is not working..

@paritosh-yadav
Copy link

any update guys...

@NajneenMomin
Copy link
Author

NajneenMomin commented Dec 26, 2017 via email

@chappanagavendra
Copy link

chappanagavendra commented Jan 8, 2019

Hi Paritosh

I am also facing same issue, Could you please help me?

@iThink32
Copy link
Contributor

iThink32 commented Jan 8, 2019

@chappanagavendra what issue are you facing?

@iThink32 iThink32 reopened this Jan 8, 2019
@iThink32
Copy link
Contributor

closing due to inactivity.

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

5 participants