Skip to content

Instantly share code, notes, and snippets.

Created March 14, 2012 20:38
What would you like to do?
Using GoCardless within an iframe
<!-- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment