Skip to content

Commit

Permalink
Version 2.2.3
Browse files Browse the repository at this point in the history
Support PHP 8+
  • Loading branch information
cryptoapi committed Jan 11, 2023
1 parent 6a50fac commit def1c20
Show file tree
Hide file tree
Showing 24 changed files with 76 additions and 67 deletions.
4 changes: 2 additions & 2 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright (c) 2014-2021 Delta Consultants
Copyright (c) 2014-2021 GoUrl.io Developers
Copyright (c) 2014-2023 Delta Consultants
Copyright (c) 2014-2023 GoUrl.io Developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions Examples/example_basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @category Main Example - Custom Payment Box ((json, bootstrap4, mobile friendly, white label product, your own logo)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2021 Delta Consultants
* copyright (c) 2014-2023 Delta Consultants
* @desc GoUrl Crypto Payment Box Example (json, bootstrap4, mobile friendly, optional - free White Label Product - Bitcoin/altcoin Payments with your own logo and all payment requests through your server, open source)
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, BitcoinSV, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p8
Expand All @@ -11,9 +11,9 @@
*/


/********************** NOTE - 2018-2021 YEARS *************************************************************************/
/********************** NOTE - 2018-2023 YEARS *************************************************************************/
/***** *****/
/***** This is NEW 2018-2021 latest Bitcoin Payment Box Example (mobile friendly JSON payment box) *****/
/***** This is NEW 2018-2023 latest Bitcoin Payment Box Example (mobile friendly JSON payment box) *****/
/***** *****/
/***** You can generate php payment box code online - https://gourl.io/lib/examples/example_customize_box.php *****/
/***** White Label Product - https://gourl.io/lib/test/example_customize_box.php?method=curl&logo=custom *****/
Expand Down Expand Up @@ -71,7 +71,7 @@

// List of coins that you accept for payments
//$coins = array('bitcoin', 'bitcoincash', 'bitcoinsv', 'litecoin', 'dogecoin', 'dash', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');
$coins = array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin', 'dash', 'speedcoin'); // for example, accept payments in bitcoin, bitcoincash, litecoin, 'dogecoin', dash, speedcoin
$coins = array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin'); // for example, accept payments in bitcoin, bitcoincash, litecoin, 'dogecoin', dash, speedcoin

// Create record for each your coin - https://gourl.io/editrecord/coin_boxes/0 ; and get free gourl keys
// It is not bitcoin wallet private keys! Place GoUrl Public/Private keys below for all coins which you accept
Expand Down
14 changes: 7 additions & 7 deletions Examples/example_customize_box.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @category Example - Custom Payment Box (json format; customise your bitcoin/altcoin payment box with your own text / logo)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2021 Delta Consultants
* copyright (c) 2014-2023 Delta Consultants
* @desc GoUrl Crypto Payment Box Example (json, bootstrap4, mobile friendly, optional - free White Label Product - Bitcoin/altcoin Payments with your own logo and all payment requests through your server, open source)
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, BitcoinSV, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p8
Expand All @@ -11,9 +11,9 @@
*/


/********************** NOTE - 2018-2021 YEARS *************************************************************************/
/********************** NOTE - 2018-2023 YEARS *************************************************************************/
/***** *****/
/***** This is NEW 2018-2021 latest Bitcoin Payment Box Example (mobile friendly JSON payment box) *****/
/***** This is NEW 2018-2023 latest Bitcoin Payment Box Example (mobile friendly JSON payment box) *****/
/***** *****/
/***** You can generate php payment box code online - https://gourl.io/lib/examples/example_customize_box.php *****/
/***** White Label Product - https://gourl.io/lib/test/example_customize_box.php?method=curl&logo=custom *****/
Expand Down Expand Up @@ -71,7 +71,7 @@

// List of coins that you accept for payments
//$coins = array('bitcoin', 'bitcoincash', 'bitcoinsv', 'litecoin', 'dogecoin', 'dash', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');
$coins = array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin', 'dash', 'speedcoin'); // for example, accept payments in bitcoin, bitcoincash, litecoin, 'dogecoin', dash, speedcoin
$coins = array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin'); // for example, accept payments in bitcoin, bitcoincash, litecoin, 'dogecoin', dash, speedcoin

// Create record for each your coin - https://gourl.io/editrecord/coin_boxes/0 ; and get free gourl keys
// It is not bitcoin wallet private keys! Place GoUrl Public/Private keys below for all coins which you accept
Expand Down Expand Up @@ -478,7 +478,7 @@
<br>
<div class='card card-body bg-light d-inline-block'>

<h1 class="display-4">Customize GoUrl Bitcoin/ Altcoin Payment Box (2021 year)</h1>
<h1 class="display-4">Customize GoUrl Bitcoin/ Altcoin Payment Box (2023 year)</h1>
<p class='lead'>See live <a href='#dmgnpcode'>generated php/html code</a> for your website below (<a target="_blank" href="https://github.com/cryptoapi/Payment-Gateway">open source class</a>)</p>

<div id="dropdown1" class="d-inline-block dropdown mx-3 my-3">
Expand Down Expand Up @@ -741,7 +741,7 @@
// List of coins that you accept for payments
//$coins = array('bitcoin', 'bitcoincash', 'bitcoinsv', 'litecoin', 'dogecoin', 'dash', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');
$coins = array('bitcoin', 'litecoin', 'dogecoin', 'dash', 'speedcoin'); // for example, accept payments in bitcoin, bitcoincash, litecoin, dash, speedcoin
<?php if ($numcoin == 1 && in_array($coinName, array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin', 'dash', 'speedcoin'))) echo "\$coins = array(\"$coinName\"); // accept payments in $coinName only \n\r"; ?>
<?php if ($numcoin == 1 && in_array($coinName, array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin'))) echo "\$coins = array(\"$coinName\"); // accept payments in $coinName only \n\r"; ?>

// Create record for each your coin - https://gourl.io/editrecord/coin_boxes/0 ; and get free gourl keys
// It is not bitcoin wallet private keys! Place GoUrl Public/Private keys below for all coins which you accept
Expand Down Expand Up @@ -907,7 +907,7 @@
<div class="row">
<div class="col-12 col-md">
<img class="mb-2" src="https://getbootstrap.com/docs/4.4/assets/brand/bootstrap-solid.svg" alt="" width="24" height="24">
<small class="d-block mb-3 text-muted">&copy; 2014-2021</small>
<small class="d-block mb-3 text-muted">&copy; 2014-2023</small>
<br>
<div><a target="_blank" href="https://validator.w3.org/nu/?showsource=yes&amp;doc=<?php echo "https://".$_SERVER[HTTP_HOST].urlencode($_SERVER[REQUEST_URI]); ?>"><img title="Markup Validation Service" src="https://gourl.io/images/w3c.png" alt="Valid HTML 5"></a></div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-download-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @category Example4 - Pay-Per-Download (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2021 Delta Consultants
* copyright (c) 2014-2023 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, BitcoinSV, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p2
* @live_demo https://gourl.io/lib/examples/pay-per-download-multi.php
Expand All @@ -12,7 +12,7 @@
/***** *****/
/***** This is iFrame Bitcoin Payment Box Example (2014 - 2017) *****/
/***** *****/
/***** Available - new 2018-2021 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** Available - new 2018-2023 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** New Demo with generation php payment box code - https://gourl.io/lib/examples/example_customize_box.php *****/
/***** White Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=black *****/
/***** Black Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=default *****/
Expand Down Expand Up @@ -50,7 +50,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'bitcoinsv', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-download.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @category Example3 - Pay-Per-Download (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2021 Delta Consultants
* copyright (c) 2014-2023 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, BitcoinSV, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p2
* @live_demo https://gourl.io/lib/examples/pay-per-download.php
Expand All @@ -12,7 +12,7 @@
/***** *****/
/***** This is iFrame Bitcoin Payment Box Example (2014 - 2017) *****/
/***** *****/
/***** Available - new 2018-2021 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** Available - new 2018-2023 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** New Demo with generation php payment box code - https://gourl.io/lib/examples/example_customize_box.php *****/
/***** White Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=black *****/
/***** Black Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=default *****/
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-membership-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @category Example12 - Pay-Per-Membership (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2021 Delta Consultants
* copyright (c) 2014-2023 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, BitcoinSV, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p6
* @live_demo https://gourl.io/lib/examples/pay-per-membership-multi.php
Expand All @@ -12,7 +12,7 @@
/***** *****/
/***** This is iFrame Bitcoin Payment Box Example (2014 - 2017) *****/
/***** *****/
/***** Available - new 2018-2021 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** Available - new 2018-2023 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** New Demo with generation php payment box code - https://gourl.io/lib/examples/example_customize_box.php *****/
/***** White Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=black *****/
/***** Black Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=default *****/
Expand Down Expand Up @@ -43,7 +43,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'bitcoinsv', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @category Example11 - Pay-Per-Membership (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2021 Delta Consultants
* copyright (c) 2014-2023 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, BitcoinSV, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p6
* @live_demo https://gourl.io/lib/examples/pay-per-membership.php
Expand All @@ -12,7 +12,7 @@
/***** *****/
/***** This is iFrame Bitcoin Payment Box Example (2014 - 2017) *****/
/***** *****/
/***** Available - new 2018-2021 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** Available - new 2018-2023 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** New Demo with generation php payment box code - https://gourl.io/lib/examples/example_customize_box.php *****/
/***** White Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=black *****/
/***** Black Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=default *****/
Expand Down
6 changes: 3 additions & 3 deletions Examples/pay-per-page-multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @category Example10 - Pay-Per-Page Access (payments in multiple cryptocurrencies, you can use original price in USD)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2021 Delta Consultants
* copyright (c) 2014-2023 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, BitcoinSV, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p5
* @live_demo https://gourl.io/lib/examples/pay-per-page-multi.php
Expand All @@ -12,7 +12,7 @@
/***** *****/
/***** This is iFrame Bitcoin Payment Box Example (2014 - 2017) *****/
/***** *****/
/***** Available - new 2018-2021 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** Available - new 2018-2023 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** New Demo with generation php payment box code - https://gourl.io/lib/examples/example_customize_box.php *****/
/***** White Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=black *****/
/***** Black Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=default *****/
Expand Down Expand Up @@ -45,7 +45,7 @@

// List of coins that you accept for payments
// For example, for accept payments in bitcoin, bitcoincash, litecoin use - $available_payments = array('bitcoin', 'bitcoincash', 'litecoin');
$available_payments = array('bitcoin', 'bitcoincash', 'bitcoinsv', 'litecoin', 'dash', 'dogecoin', 'speedcoin', 'reddcoin', 'potcoin', 'feathercoin', 'vertcoin', 'peercoin', 'monetaryunit', 'universalcurrency');
$available_payments = array('bitcoin', 'bitcoincash', 'litecoin', 'dogecoin');


// Goto https://gourl.io/info/memberarea/My_Account.html
Expand Down
4 changes: 2 additions & 2 deletions Examples/pay-per-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @category Example9 - Pay-Per-Page Access (single crypto currency in payment box)
* @package GoUrl Cryptocurrency Payment API
* copyright (c) 2014-2021 Delta Consultants
* copyright (c) 2014-2023 Delta Consultants
* @crypto Supported Cryptocoins - Bitcoin, BitcoinCash, BitcoinSV, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, MonetaryUnit, UniversalCurrency
* @website https://gourl.io/bitcoin-payment-gateway-api.html#p5
* @live_demo https://gourl.io/lib/examples/pay-per-page.php
Expand All @@ -12,7 +12,7 @@
/***** *****/
/***** This is iFrame Bitcoin Payment Box Example (2014 - 2017) *****/
/***** *****/
/***** Available - new 2018-2021 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** Available - new 2018-2023 version; mobile friendly JSON payment box (own logo, white label product) *****/
/***** New Demo with generation php payment box code - https://gourl.io/lib/examples/example_customize_box.php *****/
/***** White Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=black *****/
/***** Black Theme - https://gourl.io/lib/examples/example_customize_box.php?theme=default *****/
Expand Down
Loading

0 comments on commit def1c20

Please sign in to comment.