-
Notifications
You must be signed in to change notification settings - Fork 3
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
Comments
If you want to load payment page on click of whmcs payment action button, you can change few lines in cashfree-whmcs/modules/gateways/cashfree.php Line 112 in 44cbef1
It will load cashfree payment page |
Thank you for your support team Cashfree. This redirection issue is
resolved but now If payment is cancelled It's redirecting to invoice but
ASAP again automatically redirect to checkout. Or in the billing section If
user want to check their unpaid invoice Clicking on the unpaid Invoice it's
taking on the checkout page instead of showing invoice. Please give code
for this also
…On Fri, 10 May 2024, 9:59 am prem-cashfree, ***@***.***> wrote:
If you want to load payment page on click of whmcs payment action button,
you can change few lines in
https://github.com/cashfree/cashfree-whmcs/blob/44cbef1b388ae8f1965571e61950306a73fdc3b9/modules/gateways/cashfree.php#L112
<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
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYFGQIZSNZO62NPNGSZXXZ3ZBREJPAVCNFSM6AAAAABHOOXNBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTHA2DAOJTGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
For this reason only we kept pay now action button @jackmart3211 |
I Also using Razorpay but their module is working fine Automatically redirecting and does not have any Invoice Redirection Issues |
Issue not resolved |
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.
The text was updated successfully, but these errors were encountered: