Using GoCardless within an iframe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- iframe tag, replace {{ connect_url }} with a url generated by one of our libraries --> | |
<iframe src="{{ connect_url }}" width="960" height="865" scrolling="auto" frameborder="0"></iframe> | |
<!-- Javascript to include on the page set as your Redirect URI (as configured in your Developer dashboard) so that when it loads within the iframe it actually redirects the parent --> | |
<script type="text/javascript"> | |
<!-- | |
if (top.location != self.location) { | |
top.location = self.location.href | |
} | |
--> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment