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

hppResponse is not render #34

Open
Jey-Vclub opened this issue Aug 7, 2020 · 0 comments
Open

hppResponse is not render #34

Jey-Vclub opened this issue Aug 7, 2020 · 0 comments

Comments

@Jey-Vclub
Copy link

hello there

after so much of strugle, now the hpp popup opened and there i did enter card details, in jquery, i wrote like below

$.getJSON("pay.json", function (jsonFromRequestEndpoint) {
RealexHpp.setHppUrl("https://pay.sandbox.realexpayments.com/pay");
RealexHpp.lightbox.init("payButtonId", "https://localhost:44397/HPP/HppResponse.aspx", jsonFromRequestEndpoint);
});

before execute i put break point in rxp-hpp.js file at below line

var form = document.createElement("form");
orm.setAttribute("method", "POST");
form.setAttribute("action", merchantUrl);
RealexHpp.lightbox.init("payButtonId", "https://localhost:44397/HPP/HppResponse.aspx", jsonFromRequestEndpoint);
document.body.appendChild(form);
form.submit();

while execute i put break point and seen the hppresponse hidden is created within form tag but, after execution my HppResponse.aspx page doesnt has any such a hidden filed.
I tried in many browsers but, no luck
please let me know what is the problem and why the hidden is not present there?

thanks
jey

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

1 participant