This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://static.wepay.com/min/js/tokenization.3.latest.js"></script> | |
</head> | |
<body> | |
<!-- credit-card-iframe id will be the location for appending the credit card iframe --> | |
<div id="credit-card-iframe"></div> | |
<!-- this button will attach an onclick event to trigger submitToken function --> | |
<button id="submit-credit-card-button">submit</button> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Credit Card iFrame demo</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script src="https://cdn.wepay.com/wepay.min.js"></script> | |
</head> |
This file contains hidden or 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
this.mooverlay = new Mooverlay(this.trigger, this.popup, { | |
width: '615px', | |
onShow: this.bound('onShow') | |
}); |
This file contains hidden or 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
this.mooverlay = new Mooverlay(this.trigger, this.popup, { | |
width: 615, | |
height: 650, | |
styles: { | |
position: 'relative' | |
}, | |
backgroundColor: 'transparent', | |
onShow: this.bound('onShow') | |
}); |