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

error: order_id is mandatory on medusa-payment-razorpay 7.24 #25

Open
shubham399 opened this issue Aug 30, 2024 · 2 comments
Open

error: order_id is mandatory on medusa-payment-razorpay 7.24 #25

shubham399 opened this issue Aug 30, 2024 · 2 comments

Comments

@shubham399
Copy link

warn:    received payment data from session not order data
error:   `order_id` is mandatory
Error: `order_id` is mandatory
    at Object.fetch (/private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/razorpay/dist/resources/orders.js:55:15)
    at RazorpayProviderService.<anonymous> (/private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/medusa-payment-razorpay/dist/core/razorpay-base.js:153:68)
    at step (/private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/medusa-payment-razorpay/dist/core/razorpay-base.js:59:23)
    at Object.next (/private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/medusa-payment-razorpay/dist/core/razorpay-base.js:40:53)
    at /private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/medusa-payment-razorpay/dist/core/razorpay-base.js:34:71
    at new Promise (<anonymous>)
    at __awaiter (/private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/medusa-payment-razorpay/dist/core/razorpay-base.js:30:12)
    at RazorpayBase.getPaymentStatus (/private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/medusa-payment-razorpay/dist/core/razorpay-base.js:136:16)
    at RazorpayProviderService.<anonymous> (/private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/medusa-payment-razorpay/dist/core/razorpay-base.js:514:55)
    at step (/private/var/folders/nm/k0dxvggn2qj1gbdbtt5p30l80000gn/T/tmp.enwDy6jKrc/my-medusa-store/node_modules/medusa-payment-razorpay/dist/core/razorpay-base.js:59:23)

@shubham399
Copy link
Author

While trying with Netbanking payment in TEST Mode.

And

Error: Invalid Parameters: Please give request body,signature sent in X-Razorpay-Signature header and webhook secret from dashboard as parameters
    at validateWebhookSignature
    ```
    
    When trying with CARD

@abhinav-arya-innovation
Copy link

i have been facing this issue and its a pain....medusa contributors should do something about this bug...

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

2 participants