razorpay / razorpay-pod

:iphone: CocoaPod implementation of Razorpay's Payment SDK. Refer for instructions:
https://docs.razorpay.com/v1/page/ios-integration
MIT License
21 stars 18 forks source link

Razorpay UPI collect request custom sdk #83

Closed aksh1995 closed 3 years ago

aksh1995 commented 4 years ago

Screenshot 2019-10-15 at 10 39 28 AM

RazorpaySuccessResponse(status: "error", code: "4220", message: Optional("paymentMode Cannot be empty"))

I am getting error when I do razorpay.authorize(options)

and am sending all these which was in documentation let options: [AnyHashable:Any] = [ "amount": "100", // amount in paise "currency": "INR", "email": "a@b.com", "contact": "1234567890", "method":"upi", "vpa":"test@axisbank" ] self.razorpay?.authorize(options)

IDE Specs

Retro Steps

Screenshots

aksh1995 commented 4 years ago

and I couldn't find any payment mode in documentation

aksh1995 commented 4 years ago

this is delaying our update can u help out asap!

aksh1995 commented 4 years ago

hey I got the same error in the device iPhone XR running with iOS version 13.1.2

the order id was order_Df2ZDBm57oiF6P

what is causing this error

the user is not able to make payment for past couple of weeks

Nautiyalsachin commented 4 years ago

Please check your order id. You can verify this without sending order id.

aksh1995 commented 4 years ago

Hey ,the same code works for other mobiles and in dashboard it is showing that the payment failed and error "payment mode cannot be empty", but the same method used for other users and device is still working fine

and another case when i tried doing an upi collect request first time it failed and then i tried twice i was able to pay and this was live version of the app and the codes were not changed,why does it fail randomly ?? and how do we solve this issue

On Tue, Nov 12, 2019 at 11:37 AM Sachin Nautiyal notifications@github.com wrote:

Please check your order id. You can verify this without sending order id.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/razorpay/razorpay-pod/issues/83?email_source=notifications&email_token=ANLLLI6H5ZIEYC7JLTFTSCLQTJBZ7A5CNFSM4JAXBKK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDZESMQ#issuecomment-552749362, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLLLI7M3DMUJV3XJE3AE5DQTJBZ7ANCNFSM4JAXBKKQ .

Nautiyalsachin commented 3 years ago

Hi @aksh1995, Try with a new Order id, please update the plugin to the latest version,

For now closing this issue, feel free to either re-open the issue or create a new issue if you have any additional queries.