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
// Application Javascript - see https://github.com/lfender6445/google_places for full example | |
var autocomplete, input, address = {}; | |
$(document).ready(function(){ | |
input = $("#searchBox"); | |
$("#searchBox").clearOnFocus(); | |
$('form').submit(function(){ return false; }); | |
}); | |
var init = function(){ |
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
<?php | |
/* | |
$Id: $ | |
osCommerce, Open Source E-Commerce Solutions | |
http://www.oscommerce.com | |
Copyright (c) 2014 osCommerce | |
Released under the GNU General Public License |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="css/style.css"></link> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
<title>Stripe API Pay Page</title> | |
</head> |
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
function getSubmitCardDetailsJavascript() { | |
$stripe_publishable_key = MODULE_PAYMENT_STRIPE_PUBLISHABLE_KEY; | |
$js = <<<EOD | |
<script src="https://js.stripe.com/v2/"></script> | |
<script> | |
$(function() { | |
Stripe.setPublishableKey('{$stripe_publishable_key}'); | |
$('form[name="checkout_confirmation"]').attr('id', 'payment-form'); |