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

Redirecting to the invoice first #22

Open
jackmart3211 opened this issue May 9, 2024 · 5 comments
Open

Redirecting to the invoice first #22

jackmart3211 opened this issue May 9, 2024 · 5 comments

Comments

@jackmart3211
Copy link

After clicking on the pay now button it should automatically redirect on the pay page of Cashfree but this module is redirecting to the unpaid invoice first then user have to pay invoice.

@prem-cashfree
Copy link
Collaborator

If you want to load payment page on click of whmcs payment action button, you can change few lines in

<script> document.addEventListener("DOMContentLoaded", function() { const cashfree = Cashfree({ mode: "$mode" }); cashfree.checkout({ paymentSessionId: "$payment_session_id", platformName: "wh" }); }); </script>

It will load cashfree payment page

@jackmart3211
Copy link
Author

jackmart3211 commented May 10, 2024 via email

@prem-cashfree
Copy link
Collaborator

For this reason only we kept pay now action button @jackmart3211

@jackmart3211
Copy link
Author

I Also using Razorpay but their module is working fine Automatically redirecting and does not have any Invoice Redirection Issues

@jackmart3211
Copy link
Author

Issue not resolved

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