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

1 Payment Failed - Unexpected Error #134

Open
Jaydip2711 opened this issue Oct 30, 2021 · 2 comments
Open

1 Payment Failed - Unexpected Error #134

Jaydip2711 opened this issue Oct 30, 2021 · 2 comments

Comments

@Jaydip2711
Copy link

Pod version- 'razorpay-pod', '~> 1.1.1'
Swift Version - 5.0

Description

When try to proceed my payment payment faild error return, I mention error here also., in fact your GitHub project return same error.

Razorpay pod Version :

Pod version- 'razorpay-pod', '~> 1.1.1'

Xcode Version :

Xcode 12.4
Swift 5.0

What you did:

I Create request using below parameter.
let options: [String:Any] = [
"amount": "100", //This is in currency subunits. 100 = 100 paise= INR 1.
"currency": "INR",//We support more that 92 international currencies.
"description": "purchase description",
"order_id": "order_IE2aX8bNcX4bZR",
"image": "https://url-to-image.png",
"name": "business or product name",
"prefill": [
"contact": "9797979797",
"email": "[email protected]"
],
"theme": [
"color": "#F37254"
]
]

    if let rzp = self.razorpayObj {
        rzp.open(options)
    } else {
        print("Unable to initialize")
    }

What happened:

/Users/ramprasad.a/Documents/RamprasadA/project/razorpay-ios/RazorpayIOS/CheckoutOtpelf/Classes/RazorpayCheckout+JSBridge.swift:["Error : ", [:]]
/Users/ramprasad.a/Documents/RamprasadA/project/razorpay-ios/RazorpayIOS/CheckoutOtpelf/Classes/InternalRazorpay.swift:["payment failed"]
error: 1 Payment Failed - Unexpected Error
/Users/ramprasad.a/Documents/RamprasadA/project/razorpay-ios/RazorpayIOS/CheckoutOtpelf/Classes/RazorpayCheckoutVC.swift deinitialized
/Users/ramprasad.a/Documents/RamprasadA/project/razorpay-ios/RazorpayIOS/CheckoutOtpelf/Classes/RazorpayCheckoutWebView.swift:["/Users/ramprasad.a/Documents/RamprasadA/project/razorpay-ios/RazorpayIOS/CheckoutOtpelf/Classes/RazorpayCheckoutWebView.swift deinitialized"]

Code example, screenshot, or link to a repository:

Screenshot 2021-10-30 at 12 13 22 PM

@PradeepMithna
Copy link

Facing same issue, when i click on the failure button printing this kind of errors.....is it solved ??

@arsathsameem
Copy link

sometimes facing this same issue but it automatically resolved when i tried after sometimes any solutions for 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

3 participants