Skip to content

Instantly share code, notes, and snippets.

@paymill
paymill / request.php
Created September 12, 2012 09:55
request.php
<?php
define('PAYMILL_API_HOST', 'https://api.paymill.de/v1/');
define('PAYMILL_API_KEY', '<DEIN_PRIVATE_KEY >');
set_include_path(implode(PATH_SEPARATOR, array(
realpath(realpath(dirname(__FILE__)) . '/lib'),
get_include_path(),
)));
@paymill
paymill / zahlungsformular-komplett.html
Created September 11, 2012 14:30
Zahlungsformular-komplett
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript">
var PAYMILL_PUBLIC_KEY = '<DEIN_PAYMILL_PUBLIC_KEY>'; // live
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script type="text/javascript" src="https://bridge paymill de/"></script>
<script type="text/javascript">
@paymill
paymill / zahlungsformular.html
Created September 7, 2012 13:51
Zahlungsformular
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript">
var PAYMILL_PUBLIC_KEY = 'YOUR_PUBLIC_API_KEY';
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="https://bridge.paymill.de/"></script>
<script type="text/javascript">