Skip to content

Instantly share code, notes, and snippets.

View tschelabaumann's full-sized avatar

Tschela Baumann tschelabaumann

View GitHub Profile
@tschelabaumann
tschelabaumann / paymill_preauthorization_example.php
Created May 18, 2017 12:21
PAYMILL preauthorization example
<?php
/**
* PAYMILL Preauthorization Demo
*
* The PAYMILL preauthorization demo includes the following steps:
*
* 1. Create a form including the PAYMILL PayFrame to generate a token from the
* customers card data
* 2. Send the token to the preauth script to create a preauth
@tschelabaumann
tschelabaumann / paymill_payment_form.html
Created December 7, 2012 12:04
Paymill payment form for credit card and ELV (with amount_int)
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap.no-responsive.no-icons.min.css">
<script type="text/javascript">
var PAYMILL_PUBLIC_KEY = '<YOUR_PAYMILL_PUBLIC_KEY>';
</script>
</head>
<body>
@tschelabaumann
tschelabaumann / request.php
Created December 3, 2012 10:52 — forked from paymill/request.php
Transaction script for Paymill API v2
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=utf-8"/>
<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet">
<?php
//
// Please download the Paymill PHP Wrapper at
@tschelabaumann
tschelabaumann / paymill_payment_form.html
Created December 3, 2012 10:47
Paymill payment form for credit card and ELV
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap.no-responsive.no-icons.min.css">
<script type="text/javascript">
var PAYMILL_PUBLIC_KEY = '<YOUR_PAYMILL_PUBLIC_KEY>';
</script>
</head>
<body>