diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/charge (1).php b/charge (1).php new file mode 100644 index 0000000..758971d --- /dev/null +++ b/charge (1).php @@ -0,0 +1,33 @@ + 999999, // amount in cents - so it's 9,999.99$ (cheap!) + "currency" => "usd", + "card" => $token, + "description" => "OurPayingUser@example.com") +); + error_log("Charge obj: $charge"); + $charge = str_replace("{", "
{", $charge); + $charge = str_replace("}", "}
", $charge); + $charge = str_replace(",", "
", $charge); + $htmlCharge = "

{$charge}

"; + echo $htmlCharge; +} catch(Stripe_CardError $e) { + // The card has been declined + error_log("Err: We could not charge. The card has been declined.\n Error Details: " . $e); +} + + diff --git a/charge-ex1 (1).php b/charge-ex1 (1).php new file mode 100644 index 0000000..613ba2e --- /dev/null +++ b/charge-ex1 (1).php @@ -0,0 +1,100 @@ + 99999999, // amount in cents - so it's 9,999.99$ (cheap!) + "currency" => "usd", + "card" => $_POST['stripeToken'])); + $success = 'Your payment was successful. Good day!'; + } + catch (Exception $e) { + $error = $e->getMessage(); + error_log("Err: could not create a payment: " . $error); + } +} +?> + + + + + + Stripe - Getting Started Form + + + + + +

Charge $9,999.99 For an hour with Ido

+
* Price is what you pay value is what you get.
+ + + +
+
+ + +
+
+ + +
+
+ + + / + +
+ +
+ + \ No newline at end of file diff --git a/css/bootstrap.css b/css/bootstrap.css old mode 100755 new mode 100644 diff --git a/css/bootstrap.min.css b/css/bootstrap.min.css old mode 100755 new mode 100644 diff --git a/css/stylish-portfolio.css b/css/stylish-portfolio.css old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/css/font-awesome.css b/font-awesome-4.1.0/css/font-awesome.css old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/css/font-awesome.min.css b/font-awesome-4.1.0/css/font-awesome.min.css old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/fonts/FontAwesome.otf b/font-awesome-4.1.0/fonts/FontAwesome.otf old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/fonts/fontawesome-webfont.eot b/font-awesome-4.1.0/fonts/fontawesome-webfont.eot old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/fonts/fontawesome-webfont.svg b/font-awesome-4.1.0/fonts/fontawesome-webfont.svg old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/fonts/fontawesome-webfont.ttf b/font-awesome-4.1.0/fonts/fontawesome-webfont.ttf old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/fonts/fontawesome-webfont.woff b/font-awesome-4.1.0/fonts/fontawesome-webfont.woff old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/bordered-pulled.less b/font-awesome-4.1.0/less/bordered-pulled.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/core.less b/font-awesome-4.1.0/less/core.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/fixed-width.less b/font-awesome-4.1.0/less/fixed-width.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/font-awesome.less b/font-awesome-4.1.0/less/font-awesome.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/icons.less b/font-awesome-4.1.0/less/icons.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/larger.less b/font-awesome-4.1.0/less/larger.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/list.less b/font-awesome-4.1.0/less/list.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/mixins.less b/font-awesome-4.1.0/less/mixins.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/path.less b/font-awesome-4.1.0/less/path.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/rotated-flipped.less b/font-awesome-4.1.0/less/rotated-flipped.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/spinning.less b/font-awesome-4.1.0/less/spinning.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/stacked.less b/font-awesome-4.1.0/less/stacked.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/less/variables.less b/font-awesome-4.1.0/less/variables.less old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_bordered-pulled.scss b/font-awesome-4.1.0/scss/_bordered-pulled.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_core.scss b/font-awesome-4.1.0/scss/_core.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_fixed-width.scss b/font-awesome-4.1.0/scss/_fixed-width.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_icons.scss b/font-awesome-4.1.0/scss/_icons.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_larger.scss b/font-awesome-4.1.0/scss/_larger.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_list.scss b/font-awesome-4.1.0/scss/_list.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_mixins.scss b/font-awesome-4.1.0/scss/_mixins.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_path.scss b/font-awesome-4.1.0/scss/_path.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_rotated-flipped.scss b/font-awesome-4.1.0/scss/_rotated-flipped.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_spinning.scss b/font-awesome-4.1.0/scss/_spinning.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_stacked.scss b/font-awesome-4.1.0/scss/_stacked.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/_variables.scss b/font-awesome-4.1.0/scss/_variables.scss old mode 100755 new mode 100644 diff --git a/font-awesome-4.1.0/scss/font-awesome.scss b/font-awesome-4.1.0/scss/font-awesome.scss old mode 100755 new mode 100644 diff --git a/fonts/glyphicons-halflings-regular.eot b/fonts/glyphicons-halflings-regular.eot old mode 100755 new mode 100644 diff --git a/fonts/glyphicons-halflings-regular.svg b/fonts/glyphicons-halflings-regular.svg old mode 100755 new mode 100644 diff --git a/fonts/glyphicons-halflings-regular.ttf b/fonts/glyphicons-halflings-regular.ttf old mode 100755 new mode 100644 diff --git a/fonts/glyphicons-halflings-regular.woff b/fonts/glyphicons-halflings-regular.woff old mode 100755 new mode 100644 diff --git a/form-cc-example (1).html b/form-cc-example (1).html new file mode 100644 index 0000000..750b6c2 --- /dev/null +++ b/form-cc-example (1).html @@ -0,0 +1,148 @@ + + + + + + + + Auto Complete Attribute Example + + +

AutoComplete Example

+

+ To try this example, open it in Chrome (version 42+) and try to start filling the fields. Chrome will suggest you 'auto fill' data from what it got so far. +

+

Wallet Integration

+

+ If you got + Google Wallet + with you credit card data, even better! Go to the + 'Payment' section + and start to fill the data. Chrome will offer you to pre-fill it with the current credit card's information wallet got on file. +
+ (!) The current spec can be found at: + html.spec.whatwg.org/multipage/forms.html +

+

Material Design

+

+ You can see one way to leverage the power of material design with these forms in this + Material design example +

+
+
+
+ Contact Info + + + + + + + + + + + +
+
+ Shipping + + + + + + + + + + + + +
+
+ Billing + + + + + + + + + +
+ +
+
+ Payment +

+ Do NOT + provide real credit card information in this field. +

+ + + + + + + + +
+ +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/form-cc-example-m.html b/form-cc-example-m.html new file mode 100644 index 0000000..02af621 --- /dev/null +++ b/form-cc-example-m.html @@ -0,0 +1,163 @@ + + + + + + + + + Auto Complete Attribute Example + + + +
+
+

AutoComplete Example

+
+

+

Autofill in action

+ To try this example, open it in Chrome (version 42+) and try to start filling the fields. Chrome will suggest you 'auto fill' data from what it got so far. +

+
+
+

Wallet Integration

+ If you got + Google Wallet + with you credit card data, even better! Go to the + 'Payment' section + and start to fill the data. Chrome will offer you to pre-fill it with the current credit card's information wallet got on file. +
+ (!) The current spec: + html.spec.whatwg.org/multipage/forms.html +
+
+ +
+
+
+ Contact Info +
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+ +
+ Shipping +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+ +
+ +
+
+ Payment +

+ Do NOT + provide real credit card information in this field. +

+
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+ + +
+
+
+
+
+ +
+
+
+ + + + + + + + \ No newline at end of file diff --git a/form-cc-example-m2.html b/form-cc-example-m2.html new file mode 100644 index 0000000..8d2da56 --- /dev/null +++ b/form-cc-example-m2.html @@ -0,0 +1,194 @@ + + + + + + + + Auto Complete Attribute Example + + + + + +
+
+

AutoComplete Example

+
+

+

Autofill in action

+ To try this example, open it in Chrome (version 42+) and try to start filling the fields. Chrome will suggest you 'auto fill' data from what it got so far. +

+
+
+

Wallet Integration

+ If you got + Google Wallet + with you credit card data, even better! Go to the + 'Payment' section + and start to fill the data. Chrome will offer you to pre-fill it with the current credit card's information wallet got on file. +
+ (!) The current spec: + html.spec.whatwg.org/multipage/forms.html +
+
+ +
+
+
+ Contact +
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+
+
+ Contact (version 2) +

The fields' name will move when the user click on them

+
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+
+ +
+
+ Shipping +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+ +
+
+ Payment +

+ Do NOT + provide real credit card information in this field. +

+
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/form-cc-example.html b/form-cc-example.html index 351c72c..55859f3 100644 --- a/form-cc-example.html +++ b/form-cc-example.html @@ -9,15 +9,11 @@ Auto Complete Attribute Example