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

STRIPE Payment Error #124

Open
Nandani-20 opened this issue Nov 21, 2024 · 0 comments
Open

STRIPE Payment Error #124

Nandani-20 opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Nandani-20
Copy link

Information about bug

When I'm using Stripe Payment Gateway then at the time of payment it is giving error that

Some information is missing. Looks like someone sent you to an incomplete URL. Please ask them to look into it.

I looked into the code and found that in the stripe_checkout.py file, where we defined get_context, I have written some print statements for debugging the code and here, I found this thing.

image

This is the output of frappe.form_dict

image

and the output of this line : print(set(expected_keys) - set(list(frappe.form_dict))),
is:-

image

Means get_context is not able to get the payment_gateway key that's why the interpreter does not go inside the if block and giving error in else block.

image

Module

accounts, ecommerce

Version

ERPNext: v14.76.0 (version-14)

Frappe Framework: v14.85.1 (version-14)

Payments: v0.0.1 (develop)

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

`Some information is missing.
Looks like someone sent you to an incomplete URL. Please ask them to look into it.`
@Nandani-20 Nandani-20 added the bug Something isn't working label Nov 21, 2024
@Nihantra-Patel Nihantra-Patel transferred this issue from frappe/erpnext Nov 21, 2024
@ruthra-kumar ruthra-kumar self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants