We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using RealexHpp embedded in an ionic 4 project.
ngOnInit() { RealexHpp.setHppUrl('https://pay.sandbox.realexpayments.com/pay'); }
The configuration data is coming from the server and initialising the function in the subscription.
submit() { this.service.getConfig().subscribe((config)=> { RealexHpp.embedded.init("payButtonId", "targetIframe", "https://example.com/response", config); }); } <button id="payButtonId" type="button" (click)="submit()">Pay
Issue:
The Iframe is not showing in the first click. Can see the iframe in the second click on the Pay button. Why? Please help
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using RealexHpp embedded in an ionic 4 project.
ngOnInit() {
RealexHpp.setHppUrl('https://pay.sandbox.realexpayments.com/pay');
}
The configuration data is coming from the server and initialising the function in the subscription.
submit() {
<iframe id="targetIframe" style="display:none;"></iframe>this.service.getConfig().subscribe((config)=> {
RealexHpp.embedded.init("payButtonId", "targetIframe", "https://example.com/response", config);
});
}
<button id="payButtonId" type="button" (click)="submit()">Pay
Issue:
The Iframe is not showing in the first click. Can see the iframe in the second click on the Pay button. Why? Please help
The text was updated successfully, but these errors were encountered: