SGFGOV / medusa-payment-razorpay

A basic implementation for medusajs payment with razorpay
https://github.com/SGFGOV/medusa-payment-razorpay
12 stars 16 forks source link

order_id is missing in initiatePayment & updatePayment methods #17

Open sumanchy88 opened 3 months ago

sumanchy88 commented 3 months ago

order_id is required to pass in methodsinitiatePayment & updatePayment through PaymentProcessorContext which is coming from @medusajs/medusa library. As of current, @medusajs/medusa interface PaymentProcessorContext does not hold the field order_id. Is there way it can be override and pass through the mentioned method.

Please refer the open ticket in medusa Bug:6511

sandipan-s commented 2 months ago

@SGFGOV could you please help in figuring out this issue ?

SGFGOV commented 2 months ago

The issue is that your are not filling the phone number during checkout

SGFGOV commented 2 months ago

Check your client plz

manishkumar212111 commented 2 months ago

@SGFGOV @sandipan-s @sumanchy88 have you found any solution for this ?

sumanchy88 commented 2 months ago

@manishkumar212111 - For me it started working. Just check if user is already exists in Razorpay or not. Try with some different email.

SGFGOV commented 2 months ago

It's not compatible with older versions of the plugin

manishkumar212111 commented 1 month ago

@sumanchy88 @SGFGOV unable to retrieve customer from cart error: unable to find razorpay customer While adding product to cart

SGFGOV commented 1 month ago

You are trying to login and checkout without saving customer

manishkumar212111 commented 1 month ago

You are trying to login and checkout without saving customer

Steps: Creating new customer=> Adding product into cart => then trying checkout

manishkumar212111 commented 1 month ago

You are trying to login and checkout without saving customer

data: { code: '', type: 'invalid_data', message: 'no customer billing found:\nno customer billing found null' }

"medusa-payment-razorpay": "^7.2.0",
manishkumar212111 commented 1 month ago

You are trying to login and checkout without saving customer

@SGFGOV Did you get time to look into this issue. I am planning to move to production but unable to make payment using razorpay

For guest checkout or normal checkout: Error: No customer billing found: no customer billing found null. |  

SGFGOV commented 1 month ago

Let's get on a video call?

manishkumar212111 commented 1 month ago

Let's get on a video call?

https://meet.google.com/xgk-damm-vug When available just give me a call +91 8005804379

manishkumar212111 commented 1 month ago

Let's get on a video call?

Hey, If possible can we connect now

youreachedrahat commented 1 week ago

@manishkumar212111 can you help me with this error. I have completed entire steps but I the payment button is disabled updated 3 files (constants.tsx, payment-button/index.tsx, payment-button/razorpay-payment-button.tsx and env.local with keyidas rzptest... storename and discription image

for your issue you can try this: no customer billiing found error

19

youreachedrahat commented 1 week ago

@manishkumar212111 image