Skip to content

Commit

Permalink
Grab passed in license and store it
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Schilling committed Jan 13, 2010
1 parent 6e5c203 commit 1a6f8c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fastspring.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@
$o->mc_currency = $_POST['mc_currency']; // custom
$o->payment_gross = preg_replace('/[^0-9.]/', '', $_POST['payment_gross']); // custom
$o->mc_gross = $o->payment_gross;
$o->license = $_POST['license']; // custom - used for cocoafob

$o->app_id = $app->id;
$o->dt = dater();
$o->type = 'FastSpring';
$o->insert();

$o->generateLicense();
// $o->generateLicense();
// $o->emailLicense();

// These are the fields and values you'll need to setup in FastSpring's
Expand Down

0 comments on commit 1a6f8c8

Please sign in to comment.