From 6f984d809dd1056b236ecaba3a1ece2f62fd76b8 Mon Sep 17 00:00:00 2001 From: cryptoapi Date: Tue, 13 Feb 2018 19:46:51 +0000 Subject: [PATCH] update --- Examples/example_basic.php | 10 ++++++++-- Examples/example_customize_box.php | 14 ++++++++++---- example_basic.php | 10 ++++++++-- example_customize_box.php | 12 +++++++++--- 4 files changed, 35 insertions(+), 11 deletions(-) diff --git a/Examples/example_basic.php b/Examples/example_basic.php index bbf3c54..45cd001 100644 --- a/Examples/example_basic.php +++ b/Examples/example_basic.php @@ -1,6 +1,6 @@ display_cryptobox_bootstrap($coins, $def_coin, $def_language, $custom_text, 70, 200, true, "default", "default", 250, "", "ajax", true); - + + + // You can setup method='curl' in function above and use code below on this webpage - + // if successful bitcoin payment received .... allow user to access your premium data/files/products, etc. + // if ($box->is_paid()) { ... your code here ... } + + ?> diff --git a/Examples/example_customize_box.php b/Examples/example_customize_box.php index 9836463..d48752b 100644 --- a/Examples/example_customize_box.php +++ b/Examples/example_customize_box.php @@ -1,6 +1,6 @@
White Label Product


"; + if ($method == "curl" && !in_array($theme, array("black", "greyred", "greygreen"))) echo "

White Label Product


"; echo ""; // anchor for demo options only; don't need on live your server @@ -853,7 +853,13 @@ // Display payment box echo $box->display_cryptobox_bootstrap(); - + + + // You can setup method='curl' in function above and use code below on this webpage - + // if successful bitcoin payment received .... allow user to access your premium data/files/products, etc. + // if ($box->is_paid()) { ... your code here ... } + + ?> </body> @@ -864,7 +870,7 @@

Next Steps