├── js ├── _source │ ├── .htaccess │ ├── index.html │ ├── cryptobox.js │ └── ajax.js ├── index.html ├── cryptobox.min.js ├── ajax.min.js └── support.min.js ├── Examples ├── protected │ ├── .htaccess │ └── my_file1.zip ├── index.html ├── pay-per-page.php ├── pay-per-membership.php ├── pay-per-product.php ├── pay-per-download.php ├── pay-per-post.php ├── pay-per-registration.php ├── pay-per-page-multi.php ├── pay-per-membership-multi.php ├── pay-per-download-multi.php ├── pay-per-product-multi.php └── pay-per-post-multi.php ├── images ├── dash.png ├── dash2.png ├── paid.png ├── paid2.png ├── paid3.png ├── w3c.png ├── bitcoin.png ├── potcoin.png ├── bitcoin2.png ├── bitcoinsv.png ├── bitcoinsv2.png ├── dogecoin.png ├── dogecoin2.png ├── litecoin.png ├── litecoin2.png ├── peercoin.png ├── peercoin2.png ├── potcoin2.png ├── reddcoin.png ├── reddcoin2.png ├── speedcoin.png ├── speedcoin2.png ├── vertcoin.png ├── vertcoin2.png ├── your_logo.png ├── bitcoincash.png ├── bitcoincash2.png ├── dash │ ├── captcha.png │ ├── payment.png │ ├── captcha_de.png │ ├── captcha_es.png │ ├── captcha_nl.png │ ├── captcha_ru.png │ ├── payment_de.png │ ├── payment_es.png │ ├── payment_nl.png │ ├── payment_ru.png │ └── index.html ├── feathercoin.png ├── feathercoin2.png ├── monetaryunit.png ├── white-label.png ├── bitcoin │ ├── captcha.png │ ├── payment.png │ ├── captcha_ar.png │ ├── captcha_cn.png │ ├── captcha_cs.png │ ├── captcha_de.png │ ├── captcha_el.png │ ├── captcha_en.png │ ├── captcha_es.png │ ├── captcha_et.png │ ├── captcha_fa.png │ ├── captcha_fi.png │ ├── captcha_fr.png │ ├── captcha_hi.png │ ├── captcha_id.png │ ├── captcha_it.png │ ├── captcha_ja.png │ ├── captcha_ko.png │ ├── captcha_nl.png │ ├── captcha_pl.png │ ├── captcha_pt.png │ ├── captcha_ru.png │ ├── captcha_sl.png │ ├── captcha_sq.png │ ├── captcha_sr.png │ ├── captcha_sv.png │ ├── captcha_tr.png │ ├── captcha_zh.png │ ├── payment_ar.png │ ├── payment_cn.png │ ├── payment_cs.png │ ├── payment_de.png │ ├── payment_el.png │ ├── payment_en.png │ ├── payment_es.png │ ├── payment_et.png │ ├── payment_fa.png │ ├── payment_fi.png │ ├── payment_fr.png │ ├── payment_hi.png │ ├── payment_id.png │ ├── payment_it.png │ ├── payment_ja.png │ ├── payment_ko.png │ ├── payment_nl.png │ ├── payment_pl.png │ ├── payment_pt.png │ ├── payment_ru.png │ ├── payment_sl.png │ ├── payment_sq.png │ ├── payment_sr.png │ ├── payment_sv.png │ ├── payment_tr.png │ ├── payment_zh.png │ └── index.html ├── monetaryunit2.png ├── potcoin │ ├── captcha.png │ ├── payment.png │ ├── potcoin.png │ ├── potcoin2.png │ ├── captcha_es.png │ ├── captcha_ru.png │ ├── payment_es.png │ ├── payment_ru.png │ └── index.html ├── your_logo_res.jpg ├── bitcoinsv │ ├── captcha.png │ ├── payment.png │ └── index.html ├── dogecoin │ ├── captcha.png │ ├── payment.png │ ├── captcha_cn.png │ ├── captcha_de.png │ ├── captcha_es.png │ ├── captcha_fr.png │ ├── captcha_hi.png │ ├── captcha_ru.png │ ├── captcha_zh.png │ ├── payment_cn.png │ ├── payment_de.png │ ├── payment_es.png │ ├── payment_fr.png │ ├── payment_hi.png │ ├── payment_ru.png │ ├── payment_zh.png │ └── index.html ├── litecoin │ ├── captcha.png │ ├── payment.png │ ├── captcha_cn.png │ ├── captcha_de.png │ ├── captcha_es.png │ ├── captcha_fr.png │ ├── captcha_hi.png │ ├── captcha_nl.png │ ├── captcha_ru.png │ ├── captcha_zh.png │ ├── payment_cn.png │ ├── payment_de.png │ ├── payment_es.png │ ├── payment_fr.png │ ├── payment_hi.png │ ├── payment_nl.png │ ├── payment_ru.png │ ├── payment_zh.png │ └── index.html ├── peercoin │ ├── captcha.png │ ├── payment.png │ ├── captcha_es.png │ ├── captcha_ru.png │ ├── payment_es.png │ ├── payment_ru.png │ └── index.html ├── reddcoin │ ├── captcha.png │ ├── payment.png │ ├── captcha_cn.png │ ├── captcha_es.png │ ├── captcha_fr.png │ ├── captcha_hi.png │ ├── captcha_ru.png │ ├── captcha_zh.png │ ├── payment_cn.png │ ├── payment_es.png │ ├── payment_fr.png │ ├── payment_hi.png │ ├── payment_ru.png │ ├── payment_zh.png │ └── index.html ├── speedcoin │ ├── captcha.png │ ├── payment.png │ ├── captcha_cn.png │ ├── captcha_es.png │ ├── captcha_fr.png │ ├── captcha_hi.png │ ├── captcha_ru.png │ ├── captcha_zh.png │ ├── payment_cn.png │ ├── payment_es.png │ ├── payment_fr.png │ ├── payment_hi.png │ ├── payment_ru.png │ ├── payment_zh.png │ └── index.html ├── universalcurrency.png ├── vertcoin │ ├── captcha.png │ ├── payment.png │ ├── captcha_es.png │ ├── captcha_ru.png │ ├── payment_es.png │ ├── payment_ru.png │ └── index.html ├── bitcoincash │ ├── captcha.png │ ├── payment.png │ └── index.html ├── feathercoin │ ├── captcha.png │ ├── payment.png │ ├── captcha_es.png │ ├── captcha_ru.png │ ├── payment_es.png │ ├── payment_ru.png │ └── index.html ├── monetaryunit │ ├── captcha.png │ ├── payment.png │ └── index.html ├── universalcurrency2.png ├── universalcurrency │ ├── captcha.png │ ├── payment.png │ └── index.html └── index.html ├── Screenshots ├── commerce.png ├── pay-per-post.png ├── pay-per-product.png ├── pay-per-download.png ├── instruction-config1.png ├── instruction-config2.png ├── instruction-config3.png ├── pay-per-membership.png ├── pay-per-page-access.png ├── pay-per-registration.png ├── bitcoin-payment-iframe.png ├── bitcoin-payment-json-white-label.png ├── bitcoin-payment-json-white-label--received.png └── index.html ├── index.html ├── css ├── index.html └── _source │ └── index.html ├── lib ├── index.html ├── cryptobox.config.php ├── cryptobox.callback.php └── cryptobox.newpayment.php ├── COPYING └── history.txt /js/_source/.htaccess: -------------------------------------------------------------------------------- 1 | Deny from all -------------------------------------------------------------------------------- /Examples/protected/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all 2 | -------------------------------------------------------------------------------- /images/dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash.png -------------------------------------------------------------------------------- /images/dash2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash2.png -------------------------------------------------------------------------------- /images/paid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/paid.png -------------------------------------------------------------------------------- /images/paid2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/paid2.png -------------------------------------------------------------------------------- /images/paid3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/paid3.png -------------------------------------------------------------------------------- /images/w3c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/w3c.png -------------------------------------------------------------------------------- /images/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin.png -------------------------------------------------------------------------------- /images/potcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin.png -------------------------------------------------------------------------------- /images/bitcoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin2.png -------------------------------------------------------------------------------- /images/bitcoinsv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoinsv.png -------------------------------------------------------------------------------- /images/bitcoinsv2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoinsv2.png -------------------------------------------------------------------------------- /images/dogecoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin.png -------------------------------------------------------------------------------- /images/dogecoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin2.png -------------------------------------------------------------------------------- /images/litecoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin.png -------------------------------------------------------------------------------- /images/litecoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin2.png -------------------------------------------------------------------------------- /images/peercoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/peercoin.png -------------------------------------------------------------------------------- /images/peercoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/peercoin2.png -------------------------------------------------------------------------------- /images/potcoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin2.png -------------------------------------------------------------------------------- /images/reddcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin.png -------------------------------------------------------------------------------- /images/reddcoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin2.png -------------------------------------------------------------------------------- /images/speedcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin.png -------------------------------------------------------------------------------- /images/speedcoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin2.png -------------------------------------------------------------------------------- /images/vertcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/vertcoin.png -------------------------------------------------------------------------------- /images/vertcoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/vertcoin2.png -------------------------------------------------------------------------------- /images/your_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/your_logo.png -------------------------------------------------------------------------------- /images/bitcoincash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoincash.png -------------------------------------------------------------------------------- /images/bitcoincash2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoincash2.png -------------------------------------------------------------------------------- /images/dash/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/captcha.png -------------------------------------------------------------------------------- /images/dash/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/payment.png -------------------------------------------------------------------------------- /images/feathercoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/feathercoin.png -------------------------------------------------------------------------------- /images/feathercoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/feathercoin2.png -------------------------------------------------------------------------------- /images/monetaryunit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/monetaryunit.png -------------------------------------------------------------------------------- /images/white-label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/white-label.png -------------------------------------------------------------------------------- /Screenshots/commerce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/commerce.png -------------------------------------------------------------------------------- /images/bitcoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha.png -------------------------------------------------------------------------------- /images/bitcoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment.png -------------------------------------------------------------------------------- /images/dash/captcha_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/captcha_de.png -------------------------------------------------------------------------------- /images/dash/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/captcha_es.png -------------------------------------------------------------------------------- /images/dash/captcha_nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/captcha_nl.png -------------------------------------------------------------------------------- /images/dash/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/captcha_ru.png -------------------------------------------------------------------------------- /images/dash/payment_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/payment_de.png -------------------------------------------------------------------------------- /images/dash/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/payment_es.png -------------------------------------------------------------------------------- /images/dash/payment_nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/payment_nl.png -------------------------------------------------------------------------------- /images/dash/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dash/payment_ru.png -------------------------------------------------------------------------------- /images/monetaryunit2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/monetaryunit2.png -------------------------------------------------------------------------------- /images/potcoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin/captcha.png -------------------------------------------------------------------------------- /images/potcoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin/payment.png -------------------------------------------------------------------------------- /images/potcoin/potcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin/potcoin.png -------------------------------------------------------------------------------- /images/your_logo_res.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/your_logo_res.jpg -------------------------------------------------------------------------------- /Screenshots/pay-per-post.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/pay-per-post.png -------------------------------------------------------------------------------- /images/bitcoinsv/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoinsv/captcha.png -------------------------------------------------------------------------------- /images/bitcoinsv/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoinsv/payment.png -------------------------------------------------------------------------------- /images/dogecoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/captcha.png -------------------------------------------------------------------------------- /images/dogecoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/payment.png -------------------------------------------------------------------------------- /images/litecoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha.png -------------------------------------------------------------------------------- /images/litecoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment.png -------------------------------------------------------------------------------- /images/peercoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/peercoin/captcha.png -------------------------------------------------------------------------------- /images/peercoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/peercoin/payment.png -------------------------------------------------------------------------------- /images/potcoin/potcoin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin/potcoin2.png -------------------------------------------------------------------------------- /images/reddcoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/captcha.png -------------------------------------------------------------------------------- /images/reddcoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/payment.png -------------------------------------------------------------------------------- /images/speedcoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/captcha.png -------------------------------------------------------------------------------- /images/speedcoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/payment.png -------------------------------------------------------------------------------- /images/universalcurrency.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/universalcurrency.png -------------------------------------------------------------------------------- /images/vertcoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/vertcoin/captcha.png -------------------------------------------------------------------------------- /images/vertcoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/vertcoin/payment.png -------------------------------------------------------------------------------- /Examples/protected/my_file1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Examples/protected/my_file1.zip -------------------------------------------------------------------------------- /Screenshots/pay-per-product.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/pay-per-product.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_ar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_ar.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_cn.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_cs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_cs.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_de.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_el.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_el.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_en.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_es.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_et.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_et.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_fa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_fa.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_fi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_fi.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_fr.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_hi.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_id.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_it.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_ja.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_ja.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_ko.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_ko.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_nl.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_pl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_pl.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_pt.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_ru.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_sl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_sl.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_sq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_sq.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_sr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_sr.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_sv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_sv.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_tr.png -------------------------------------------------------------------------------- /images/bitcoin/captcha_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/captcha_zh.png -------------------------------------------------------------------------------- /images/bitcoin/payment_ar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_ar.png -------------------------------------------------------------------------------- /images/bitcoin/payment_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_cn.png -------------------------------------------------------------------------------- /images/bitcoin/payment_cs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_cs.png -------------------------------------------------------------------------------- /images/bitcoin/payment_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_de.png -------------------------------------------------------------------------------- /images/bitcoin/payment_el.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_el.png -------------------------------------------------------------------------------- /images/bitcoin/payment_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_en.png -------------------------------------------------------------------------------- /images/bitcoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_es.png -------------------------------------------------------------------------------- /images/bitcoin/payment_et.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_et.png -------------------------------------------------------------------------------- /images/bitcoin/payment_fa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_fa.png -------------------------------------------------------------------------------- /images/bitcoin/payment_fi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_fi.png -------------------------------------------------------------------------------- /images/bitcoin/payment_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_fr.png -------------------------------------------------------------------------------- /images/bitcoin/payment_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_hi.png -------------------------------------------------------------------------------- /images/bitcoin/payment_id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_id.png -------------------------------------------------------------------------------- /images/bitcoin/payment_it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_it.png -------------------------------------------------------------------------------- /images/bitcoin/payment_ja.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_ja.png -------------------------------------------------------------------------------- /images/bitcoin/payment_ko.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_ko.png -------------------------------------------------------------------------------- /images/bitcoin/payment_nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_nl.png -------------------------------------------------------------------------------- /images/bitcoin/payment_pl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_pl.png -------------------------------------------------------------------------------- /images/bitcoin/payment_pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_pt.png -------------------------------------------------------------------------------- /images/bitcoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_ru.png -------------------------------------------------------------------------------- /images/bitcoin/payment_sl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_sl.png -------------------------------------------------------------------------------- /images/bitcoin/payment_sq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_sq.png -------------------------------------------------------------------------------- /images/bitcoin/payment_sr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_sr.png -------------------------------------------------------------------------------- /images/bitcoin/payment_sv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_sv.png -------------------------------------------------------------------------------- /images/bitcoin/payment_tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_tr.png -------------------------------------------------------------------------------- /images/bitcoin/payment_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoin/payment_zh.png -------------------------------------------------------------------------------- /images/bitcoincash/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoincash/captcha.png -------------------------------------------------------------------------------- /images/bitcoincash/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/bitcoincash/payment.png -------------------------------------------------------------------------------- /images/dogecoin/captcha_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/captcha_cn.png -------------------------------------------------------------------------------- /images/dogecoin/captcha_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/captcha_de.png -------------------------------------------------------------------------------- /images/dogecoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/captcha_es.png -------------------------------------------------------------------------------- /images/dogecoin/captcha_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/captcha_fr.png -------------------------------------------------------------------------------- /images/dogecoin/captcha_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/captcha_hi.png -------------------------------------------------------------------------------- /images/dogecoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/captcha_ru.png -------------------------------------------------------------------------------- /images/dogecoin/captcha_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/captcha_zh.png -------------------------------------------------------------------------------- /images/dogecoin/payment_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/payment_cn.png -------------------------------------------------------------------------------- /images/dogecoin/payment_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/payment_de.png -------------------------------------------------------------------------------- /images/dogecoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/payment_es.png -------------------------------------------------------------------------------- /images/dogecoin/payment_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/payment_fr.png -------------------------------------------------------------------------------- /images/dogecoin/payment_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/payment_hi.png -------------------------------------------------------------------------------- /images/dogecoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/payment_ru.png -------------------------------------------------------------------------------- /images/dogecoin/payment_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/dogecoin/payment_zh.png -------------------------------------------------------------------------------- /images/feathercoin/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/feathercoin/captcha.png -------------------------------------------------------------------------------- /images/feathercoin/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/feathercoin/payment.png -------------------------------------------------------------------------------- /images/litecoin/captcha_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha_cn.png -------------------------------------------------------------------------------- /images/litecoin/captcha_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha_de.png -------------------------------------------------------------------------------- /images/litecoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha_es.png -------------------------------------------------------------------------------- /images/litecoin/captcha_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha_fr.png -------------------------------------------------------------------------------- /images/litecoin/captcha_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha_hi.png -------------------------------------------------------------------------------- /images/litecoin/captcha_nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha_nl.png -------------------------------------------------------------------------------- /images/litecoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha_ru.png -------------------------------------------------------------------------------- /images/litecoin/captcha_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/captcha_zh.png -------------------------------------------------------------------------------- /images/litecoin/payment_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment_cn.png -------------------------------------------------------------------------------- /images/litecoin/payment_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment_de.png -------------------------------------------------------------------------------- /images/litecoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment_es.png -------------------------------------------------------------------------------- /images/litecoin/payment_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment_fr.png -------------------------------------------------------------------------------- /images/litecoin/payment_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment_hi.png -------------------------------------------------------------------------------- /images/litecoin/payment_nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment_nl.png -------------------------------------------------------------------------------- /images/litecoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment_ru.png -------------------------------------------------------------------------------- /images/litecoin/payment_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/litecoin/payment_zh.png -------------------------------------------------------------------------------- /images/monetaryunit/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/monetaryunit/captcha.png -------------------------------------------------------------------------------- /images/monetaryunit/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/monetaryunit/payment.png -------------------------------------------------------------------------------- /images/peercoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/peercoin/captcha_es.png -------------------------------------------------------------------------------- /images/peercoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/peercoin/captcha_ru.png -------------------------------------------------------------------------------- /images/peercoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/peercoin/payment_es.png -------------------------------------------------------------------------------- /images/peercoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/peercoin/payment_ru.png -------------------------------------------------------------------------------- /images/potcoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin/captcha_es.png -------------------------------------------------------------------------------- /images/potcoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin/captcha_ru.png -------------------------------------------------------------------------------- /images/potcoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin/payment_es.png -------------------------------------------------------------------------------- /images/potcoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/potcoin/payment_ru.png -------------------------------------------------------------------------------- /images/reddcoin/captcha_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/captcha_cn.png -------------------------------------------------------------------------------- /images/reddcoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/captcha_es.png -------------------------------------------------------------------------------- /images/reddcoin/captcha_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/captcha_fr.png -------------------------------------------------------------------------------- /images/reddcoin/captcha_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/captcha_hi.png -------------------------------------------------------------------------------- /images/reddcoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/captcha_ru.png -------------------------------------------------------------------------------- /images/reddcoin/captcha_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/captcha_zh.png -------------------------------------------------------------------------------- /images/reddcoin/payment_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/payment_cn.png -------------------------------------------------------------------------------- /images/reddcoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/payment_es.png -------------------------------------------------------------------------------- /images/reddcoin/payment_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/payment_fr.png -------------------------------------------------------------------------------- /images/reddcoin/payment_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/payment_hi.png -------------------------------------------------------------------------------- /images/reddcoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/payment_ru.png -------------------------------------------------------------------------------- /images/reddcoin/payment_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/reddcoin/payment_zh.png -------------------------------------------------------------------------------- /images/speedcoin/captcha_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/captcha_cn.png -------------------------------------------------------------------------------- /images/speedcoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/captcha_es.png -------------------------------------------------------------------------------- /images/speedcoin/captcha_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/captcha_fr.png -------------------------------------------------------------------------------- /images/speedcoin/captcha_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/captcha_hi.png -------------------------------------------------------------------------------- /images/speedcoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/captcha_ru.png -------------------------------------------------------------------------------- /images/speedcoin/captcha_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/captcha_zh.png -------------------------------------------------------------------------------- /images/speedcoin/payment_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/payment_cn.png -------------------------------------------------------------------------------- /images/speedcoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/payment_es.png -------------------------------------------------------------------------------- /images/speedcoin/payment_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/payment_fr.png -------------------------------------------------------------------------------- /images/speedcoin/payment_hi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/payment_hi.png -------------------------------------------------------------------------------- /images/speedcoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/payment_ru.png -------------------------------------------------------------------------------- /images/speedcoin/payment_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/speedcoin/payment_zh.png -------------------------------------------------------------------------------- /images/universalcurrency2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/universalcurrency2.png -------------------------------------------------------------------------------- /images/vertcoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/vertcoin/captcha_es.png -------------------------------------------------------------------------------- /images/vertcoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/vertcoin/captcha_ru.png -------------------------------------------------------------------------------- /images/vertcoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/vertcoin/payment_es.png -------------------------------------------------------------------------------- /images/vertcoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/vertcoin/payment_ru.png -------------------------------------------------------------------------------- /Screenshots/pay-per-download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/pay-per-download.png -------------------------------------------------------------------------------- /images/feathercoin/captcha_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/feathercoin/captcha_es.png -------------------------------------------------------------------------------- /images/feathercoin/captcha_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/feathercoin/captcha_ru.png -------------------------------------------------------------------------------- /images/feathercoin/payment_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/feathercoin/payment_es.png -------------------------------------------------------------------------------- /images/feathercoin/payment_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/feathercoin/payment_ru.png -------------------------------------------------------------------------------- /Screenshots/instruction-config1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/instruction-config1.png -------------------------------------------------------------------------------- /Screenshots/instruction-config2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/instruction-config2.png -------------------------------------------------------------------------------- /Screenshots/instruction-config3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/instruction-config3.png -------------------------------------------------------------------------------- /Screenshots/pay-per-membership.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/pay-per-membership.png -------------------------------------------------------------------------------- /Screenshots/pay-per-page-access.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/pay-per-page-access.png -------------------------------------------------------------------------------- /Screenshots/pay-per-registration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/pay-per-registration.png -------------------------------------------------------------------------------- /images/universalcurrency/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/universalcurrency/captcha.png -------------------------------------------------------------------------------- /images/universalcurrency/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/images/universalcurrency/payment.png -------------------------------------------------------------------------------- /Screenshots/bitcoin-payment-iframe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/bitcoin-payment-iframe.png -------------------------------------------------------------------------------- /Screenshots/bitcoin-payment-json-white-label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/bitcoin-payment-json-white-label.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /js/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /Screenshots/bitcoin-payment-json-white-label--received.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptoapi/Payment-Gateway/HEAD/Screenshots/bitcoin-payment-json-white-label--received.png -------------------------------------------------------------------------------- /css/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /lib/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /Examples/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /Screenshots/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /css/_source/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/dash/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /js/_source/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/bitcoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/bitcoinsv/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/dogecoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/litecoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/peercoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/potcoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/reddcoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/speedcoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/vertcoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/bitcoincash/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/feathercoin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/monetaryunit/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /images/universalcurrency/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /lib/cryptobox.config.php: -------------------------------------------------------------------------------- 1 | 33 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014-2024 Delta Consultants 2 | Copyright (c) 2014-2024 GoUrl.io Developers 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. -------------------------------------------------------------------------------- /js/cryptobox.min.js: -------------------------------------------------------------------------------- 1 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('y 2t(r,o,d,h,p,q,n,g,t,j,a,s,b,f,c,m,k){2(Z m!=="Y"){m=0}2(Z k!=="Y"){k=0}8 l=d.1N(0,d.A("1w"));2(l==""||r!=l||d.A("1R")==-1){4("6 7 9 1S")}5{2((h<=0&&p<=0)||(h>0&&p>0)){4("V 1T 2u B 7 9 1V 1W T 1X 1g: N 22 L. V 23 1j 25 B M 14 26 1o")}5{2(h!=0&&((h-0)!=h||h<0.11)){4("6 7 9 N")}5{2(p!=0&&((p-0)!=p||p<0.17)){4("6 7 9 L")}5{2(j!="C"&&j!="2i"&&j!="2j"&&j!="2k"){4("6 7 9 2r I")}5{2(j=="C"&&s==""){4("6 7 9 F 2q")}5{2(j=="C"&&E(s)==""){2(x.D(g).G!=Q){x.D(g).G="U://X.K/2p/2o.2n"}4("S 2m 12 B 13 1k !")}5{2(j=="C"&&E(s)!=t){4("6 F I. 2g 2f 2e 15 16 2b 2a 1f 18 T R P M 1d 19 B R J 21. S 1h 10 J 1l, 1p 1U 1q/1r-1s 1Q O 1t P")}5{2(a==""){4("6 1u")}5{2(q==""){4("6 1M")}5{2(d.v!=1L){4("6 1K 1y")}5{2(b!=""&&(b.A("1I")==-1||b.v<20)){4("6 1B, 1C 1F 1G")}5{2(f==""){4("6 1J I")}5{2(c==""){4("6 7 9 1Y")}5{8 e="U://24.X.K/b/"+3(r)+"/c/"+3(o)+"/p/"+3(d)+"/a/"+3(h)+"/2c/"+3(p)+"/2l/"+3(q.1n(" ","1m"))+"/l/"+3(n)+"/i/"+3(g)+"/u/"+3(t)+"/1i/"+3(j)+"/o/"+3(a)+"/t/"+3(f)+(b?"/w/"+3(b):"")+(m>0?"/1a/"+3(m):"")+(k>0?"/1c/"+3(k):"")+"/h/"+3(c)+"/z/"+1v.1x();8 i=x.D(g);2(i==Q){4(\'1D 1H 1O 10 1Z "\'+g+\'" 27 29!\')}5{i.G=e}}}}}}}}}}}}}}}H 2h}y E(b){8 e=b+"=";8 a=x.F.1b(";");O(8 d=0;d35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('2 1X(a,l,c,g,h,e,d,f){q b=G O().M();q k=G O().M();q j=t;q i=t;a=r(a);1(6 l!=="1l"){l=0}1(6 c!=="1l"){c=0}1(6 g!=="4"){g=""}5{g=r(g)}1(6 h!=="4"){h="28/"}5{h=r(h)}1(6 e!=="4"){e="21"}5{e=r(e)}1(6 d!=="4"){d="22"}5{d=r(d)}1(6 f!=="4"){f=""}5{f=r(f)}I=2(){$.U({p:"V",1k:a,1m:t,1W:"29/S; 1O=1q-8",v:{1r:"S"},1n:"S"}).1f(2(){j=J;q m="";$.U({p:"V",1k:a,1m:t,1n:"27"}).F(2(n){1(n!=""){m="<9><9>"+n.1w(0,25)+"<9><9>"}}).1A(2(){$("."+d+"K").L("u H v ! "+m+" R D N C E.");$("."+d+"11").12(x,2(){$("."+d+"13").7();$("."+d+"y").15(x)});$("."+d+"y ."+d+"1o").7();$("."+d+"10, .17 18.Y-X").1a(2(){$("."+d+"1b, ."+d+"Z").Q();1c.B.1d="#h"+d.1e(/1g\\s*$/,"");$("."+d+"1h").7()})});P t}).F(2(n){1(z.p(n.23)!=="4"||z.p(n.1B)!=="1D"||z.p(n.w)!=="4"||(n.w!="1j"&&n.w!="1E")){1(z.p(n.T)==="4"&&n.T){$("."+d+"K").L("u H v !<9><9>"+n.T+"")}5{$("."+d+"K").L("u H v ! R D N C E.")}$("."+d+"11").12(x,2(){$("."+d+"13").7();$("."+d+"y").15(x)});$("."+d+"y ."+d+"1o").7();$("."+d+"10, .17 18.Y-X").1a(2(){$("."+d+"1b, ."+d+"Z").Q();1c.B.1d="#h"+d.1e(/1g\\s*$/,"");$("."+d+"1h").7()});P t}1T(n,A(h),A(e),A(d));1(n.w=="1j"){i=J;1(!l||(l&&!c&&n.1Y)){$.1Z(g+"24.W.1p",n).1f(2(){14("16 u! 1s 1t 1u W 1x. R D N C E.")}).F(2(o){1(o!="1H"&&o!="1I"&&o!="1K"){14("16 u! "+o)}})}1(f){19(2(){1N.B=f},1R)}}1(!i&&!j){q m=G O().M();1((m-b)>20*1v*1y){$("."+d+"1C").Q();$("."+d+"1G").7();$("."+d+"1L .1M, ."+d+"1P").1S("1V",0.3,2(){});1($.1F($.1J.1i)){$("[v-1Q-1U]").1i("1z")}}5{19(I,26)}}})};I();P J};',62,134,'|if|function||string|else|typeof|show||br||||||||||||||||type|var|atob||false|Error|data|status|400|cryptobox_error|jQuery|btoa|location|website|contact|administrator|done|new|loading|cryptobox_callout|true|error_message|html|getTime|the|Date|return|hide|Please|json|err|ajax|GET|callback|select|radioimage|msg|button_error|loader_button|fadeOut|loader|alert|fadeIn|Internal|mncrpt|img|setTimeout|click|refresh|document|href|replace|fail|_|loading_icon|tooltip|payment_received|url|number|cache|dataType|coins_list|php|utf|format|Unable|to|find|60|substr|file|1000|disable|always|texts|button_wait|object|payment_not_received|isFunction|button_refresh|cryptobox_newrecord|cryptobox_updated|fn|cryptobox_nochanges|cryptobox_unpaid|card|window|charset|cryptobox_top|original|3000|fadeTo|cryptobox_update_page|title|slow|contentType|cryptobox_ajax|confirmed|post||default|acrypto_|coinname|cryptobox|250|7000|text|images|application'.split('|'),0,{})) 2 | -------------------------------------------------------------------------------- /js/_source/cryptobox.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @package GoUrl Bitcoin/Altcoin Payment Box - show iFrame Payment Box 3 | * @copyright 2014-2024 Delta Consultants 4 | * @category Javascript 5 | * @website https://gourl.io 6 | * @api https://gourl.io/api.html 7 | * @version 2.2.4 8 | */ 9 | 10 | /** 11 | * Display iFrame payment box 12 | * Full Instruction - https://gourl.io/bitcoin-payment-gateway-api.html 13 | */ 14 | 15 | function cryptobox_show(boxID, coinName, public_key, amount, amountUSD, period, language, iframeID, userID, userFormat, orderID, cookieName, webdev_key, ver, hash, width, height) 16 | { 17 | if (typeof width !== 'number') width = 0; 18 | if (typeof height !== 'number') height = 0; 19 | 20 | var id = public_key.substr(0, public_key.indexOf("AA")); 21 | if (id == '' || boxID != id || public_key.indexOf("PUB") == -1) alert('Invalid payment box public_key'); 22 | else if ((amount <= 0 && amountUSD <= 0) || (amount > 0 && amountUSD > 0)) alert('You can use in payment box options one of variable only: amount or amountUSD. You cannot place values in that two variables together'); 23 | else if (amount != 0 && ((amount - 0) != amount || amount < 0.0001)) alert('Invalid payment box amount'); 24 | else if (amountUSD != 0 && ((amountUSD - 0) != amountUSD || amountUSD < 0.01)) alert('Invalid payment box amountUSD'); 25 | else if (userFormat != 'COOKIE' && userFormat != 'SESSION' && userFormat != 'IPADDRESS' && userFormat != 'MANUAL') alert('Invalid payment box userFormat value'); 26 | else if (userFormat == 'COOKIE' && cookieName == '') alert('Invalid payment box cookie name'); 27 | else if (userFormat == 'COOKIE' && cryptobox_cookie(cookieName) == '') { if (document.getElementById(iframeID).src != null) document.getElementById(iframeID).src = 'https://gourl.io/images/crypto_cookies.png'; alert('Please enable Cookies in your Browser !'); } 28 | else if (userFormat == 'COOKIE' && cryptobox_cookie(cookieName) != userID) alert('Invalid cookie value. It may be you are viewing an older copy of the page that is stored in the website cache. Please contact with website owner, need to disable/turn-off caching for current page'); 29 | else if (orderID == '') alert('Invalid orderID'); 30 | else if (period == '') alert('Invalid period'); 31 | else if (public_key.length != 50) alert('Invalid public key'); 32 | else if (webdev_key != '' && (webdev_key.indexOf("DEV") == -1 || webdev_key.length < 20)) alert('Invalid webdev_key, leave it empty'); 33 | else if (ver == '') alert('Invalid ver value'); 34 | else if (hash == '') alert('Invalid payment box hash'); 35 | else 36 | { 37 | var url = 'https://coins.gourl.io' + 38 | '/b/'+encodeURIComponent(boxID)+'/c/'+encodeURIComponent(coinName)+ 39 | '/p/'+encodeURIComponent(public_key)+ 40 | '/a/'+encodeURIComponent(amount)+'/au/'+encodeURIComponent(amountUSD)+ 41 | '/pe/'+encodeURIComponent(period.replace(' ', '_'))+'/l/'+encodeURIComponent(language)+ 42 | '/i/'+encodeURIComponent(iframeID)+'/u/'+encodeURIComponent(userID)+ 43 | '/us/'+encodeURIComponent(userFormat)+'/o/'+encodeURIComponent(orderID)+ 44 | '/t/'+encodeURIComponent(ver)+ 45 | (webdev_key?'/w/'+encodeURIComponent(webdev_key):'')+ 46 | (width>0?'/ws/'+encodeURIComponent(width):'')+ 47 | (height>0?'/hs/'+encodeURIComponent(height):'')+ 48 | '/h/'+encodeURIComponent(hash)+ 49 | '/z/'+Math.random(); 50 | 51 | var html = document.getElementById(iframeID); 52 | if (html == null) alert('Cryptobox iframeID HTML with id "' + iframeID + '" not exist!'); 53 | else html.src = url; 54 | } 55 | 56 | return true; 57 | } 58 | 59 | 60 | 61 | 62 | function cryptobox_cookie(name) 63 | { 64 | var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { 65 | var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) 66 | return c.substring(nameEQ.length,c.length); } return ''; 67 | } 68 | 69 | 70 | function cryptobox_msghide (id) 71 | { 72 | setTimeout(function(){ document.getElementById(id).style.display='none';}, 15000 ); 73 | } 74 | 75 | -------------------------------------------------------------------------------- /js/support.min.js: -------------------------------------------------------------------------------- 1 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('t 4c(f,k,i,d){6(2.H(f)==="J"){f=2.4e(14(f))}6(L k!=="J"){k="4f/"}u{k=14(k)}6(L i!=="J"){i="2C"}u{i=14(i)}6(L d!=="J"){d="4g"}u{d=14(d)}2(".2A a.4h-4i, ."+d+"1K, ."+d+"15, ."+d+"4k, ."+d+"X, .2A 1e.1B-1M").1c(t(){2("."+d+"X, ."+d+"1l").w();M.23.K="#h"+d.1w(/Y\\s*$/,"");2("."+d+"4m").I()});6(2.H(f.1y)!=="J"||2.H(f.5)!=="2r"||2.H(f.G)!=="J"||(f.G!="W"&&f.G!="22")){6(2.H(f.1L)==="J"&&f.1L){2("."+d+"2i").y("24 2y 4 !"+f.1L+""+(2.H(f.4o)==="T"?"1T 1U 1R 1O 2z.":""))}u{2("."+d+"2i").y("24 2y 4 ! 1T 1U 1R 1O 2z.")}2("."+d+"4t").1m(O,t(){2("."+d+"20").I();2("."+d+"1x").19(O)});2("."+d+"1x ."+d+"1b").I();P 1G}r h=f.1y.4w();6(i=="2C"){r m=(h=="2k")?"Y"+f.5.V:"";r l=[];l.4x=["1N","F","2E","D"];l.4y=["1d","1N","F","11","1f","D","Z"];l.4z=["F","D"];l.4A=["1d","1N","F","11","1f","2E","D","Z"];l.4u=["F","D"];l.2H=["F","D"];l.2I=["1d","F","11","1f","D","Z"];l.2J=["1d","F","11","1f","D","Z"];l.2K=["F","D"];6(l.2L(h)&&2.2M(f.5.V,l[h])!=-1){m="Y"+f.5.V}r b=(f.B=="A")?k+h+"/2N"+m+".1S":k+h+"/2P"+m+".1S"}u{6(!i){b=""}u{b=i}}6(b==""){2("."+d+"2p").w()}u{2("."+d+"2p").3("1A",b)}r c=(L 2("."+d+"10").3("4-1F")==="T")?49:2("."+d+"10").3("4-1F");2("."+d+"10").3("1A","2R://2S.46.45/44/43-2W-2X/?1F="+c+"x"+c+"&4="+h+"%3A"+f.1D+"%30%3D"+f.2a+"&3U-31=32-8");6(2.2F(2.1k.7)){2("."+d+"2j").3("4-z-v",f.5.3Q).3("4-E","S").3("4-C","7").7();2("."+d+"2b").3("4-z-v",f.5.35.1w("\\\\n"," ")).3("4-E","S").3("4-C","7").7();2("."+d+"10").3("4-z-v",f.5.36).3("4-E","S").3("4-C","7").7();6(!(2("."+d+"1K").38)){2("."+d+"15").3("4-z-v",f.5.2c).3("4-E","1a").3("4-C","7").7()}2("."+d+"1K").3("4-z-v",f.5.2c).3("4-E","1a").3("4-C","7").7();2("."+d+"28, ."+d+"X").3("4-z-v",f.5.X).3("4-E","1a").3("4-C","7").7();2("."+d+"26").3("4-z-v",f.5.3a).3("4-E","1a").3("4-C","7").7();2("."+d+"13").1Y("27","1Z").3("4-z-v",f.5.13).3("4-E","S").3("4-C","7").7();2("."+d+"1r").1Y("27","1Z").3("4-z-v","3E 3d 3e").3("4-E","S").3("4-C","7").7()}2("."+d+"3w").Q(((f.B=="A")?f.5.3v:f.5.3j));2("."+d+"3k").Q(((f.B=="A")?f.5.3l:f.5.3m));2("."+d+"2b").3("K",f.2G);2("."+d+"2j").y(f.1D).3("K",f.2G);r e="-";6(f.G=="22"){e=f.5.3p}u{6(f.G=="W"){e=(f.B=="A")?f.5.1q:f.5.1H}}2("."+d+"3q").Q(e);6(f.G=="W"){2("."+d+"25").w();2("."+d+"15").y(((f.B=="A")?f.5.1q:f.5.1H))}u{2("."+d+"25").I();2("."+d+"15").y(\' o; \'+((f.B=="A")?f.5.3y:f.5.3B))}2("."+d+"28").y(\'o; \'+f.5.X);6(f.G=="W"){2("."+d+"3H").Q((f.B=="A")?f.5.v:f.1y);2("."+d+"3I").Q((f.B=="A")?f.5.1q:f.5.1H);2("."+d+"3J").y(((f.B=="A")?f.5.3K:f.5.3L)+" "+f.3M+"");2("."+d+"2m").y(\'<2l R="2g 2g-\'+((f.3N=="3P")?"2k":"3S")+\'">o; \'+f.5.3V);2("."+d+"2m").1c(t(){2q=1u.3X(f.2e,"","3Z=40,1J=42");6(1u.2s){2q.2s()}P 1G});2("."+d+"48").w();2("."+d+"4a").w();2("."+d+"4b").w();2("."+d+"4d").w();2("."+d+"1b").w()}u{2("."+d+"1b").I()}6(f.5.V=="1i"||f.5.V=="4j"){2("."+d+"1x, ."+d+"2B, ."+d+"1j, ."+d+"1g, ."+d+"2D").3("4l","4n");2("."+d+"1j .1p, ."+d+"1g .1p, ."+d+"1b .1p").1I("4q-4s-4v")}2("."+d+"20").1m(O,t(){2("."+d+"2B, ."+d+"2D").19(O);6(f.G=="W"){2("."+d+"1j, ."+d+"2w, ."+d+"1l").w();2("."+d+"1g, ."+d+"1P").19(O)}u{2("."+d+"1g, ."+d+"1P").w();2("."+d+"1j, ."+d+"2w").19(O)}2("."+d+"1l").21(2O).1m(2Q)});r g="";2.17(f,t(a,o){6(L o==="2r"){r n=\'<2o 2T="2U-2Y:2Z">\';2.17(o,t(p,q){n+="["+p+"] => "+q+"";2("."+d+a+"Y"+p).y(q)});o=n+""}u{6(a.1s("33")>0){2("."+d+a).3("K",o)}u{2("."+d+a).y(o)}}g+="["+a+"] => "+o+""});6(2("."+d+"U").3("4-2d")!=="T"&&2("."+d+"U").3("4-16")!=="T"){r j=\'\'+2("."+d+"U").3("4-2d")+"";2("."+d+"U").y((f.5.3c).1w("3f",j))}2("."+d+"3h").y(g);2("#3n").21(3o).I("3r");2("."+d+"26, ."+d+"13, ."+d+"1r").1c(t(){r p=M.3u("3z");6((2(9).3("R")).1s("13")>0){p.1n=f.2a}u{6((2(9).3("R")).1s("1r")>0){p.1n=f.2e}u{p.1n=f.1D}}M.2x.3R(p);p.1M();3T{r o=(M.3W("1v"))?f.5.41:"2u, 2t 2f 1v :("}47(n){r o="2u, 2t 2f 1v :("}M.2x.4r(p);6(2.2F(2.1k.7)){r a=2(9);a.7("4B");a.3("4-z-v",o).7("I")}P 1G});P 1C}2(M).2V(t(){2("12.1E").1E()});(t(a){a.1k.1E=t(c){r d={2v:"1B-1M",2n:"1B-1h",1V:1C},b=t(e){r f=e.1W(\'12[H="2h"]\').3("1X");a(\'12[1X="\'+f+\'"]\').17(t(){r g=a(9).1Q("1e");6(a(9).1t("1h")&&L a(9).4("16")!=="T"){1u.23.K=a(9).4("16")}})};c=a.3F(d,c);P 9.17(t(){a(9).w().3O(\'<1e 1A="\'+a(9).4("3Y")+\'" 1J="\'+(a(9).4("1J")+18)+\'" 1z="\'+a(9).4("1z")+\'" v="\'+a(9).4("v")+\'" />\');r e=a(9).1Q("1e");e.1I(c.2v);6(c.1V){a("34[3b="+a(9).3("3i")+"]").w()}6(a(9).1t("1h")){e.1I(c.2n)}e.4p("1c",t(f){a(9).1W(\'12[H="2h"]\').1t("1h",1C).3g("3G");b(a(9))})})}})(2);',62,286,'||jQuery|attr|data|texts|if|tooltip||this||||||||||||||||||var||function|else|title|hide||html|original|paymentbox|boxtype|toggle|ru|placement|es|status|type|show|string|href|typeof|document|br|400|return|text|class|bottom|undefined|texts_intro1b|language|payment_received|refresh|_|zh|qrcode_image|fr|input|copy_amount|atob|button_wait|url|each||fadeIn|top|coins_list|click|cn|img|hi|cryptobox_paid|checked|fa|cryptobox_unpaid|fn|msg|fadeOut|value|160|row|payment_successful|copy_transaction|indexOf|prop|window|copy|replace|cryptobox_error|coinname|alt|src|radioimage|true|addr|aradioimage|size|false|captcha_successful|addClass|width|button_confirm|err|select|de|website|boxlogo_paid|next|the|png|Please|contact|hideLabel|prev|name|css|pointer|loader|delay|payment_not_received|location|Error|texts_btn_wait_hint|copy_address|cursor|button_refresh|fas|amount|wallet_open|btn_wait_hint|site|tx_url|to|glyphicon|radio|error_message|wallet_address|bitcoin|span|button_details|imgItemCheckedClass|div|logo_image|newwindow|object|focus|unable|Oops|imgItemClass|boxlogo_unpaid|body|loading|administrator|mncrpt|cryptobox_top|default|cryptobox_rawdata|nl|isFunction|wallet_url|potcoin|reddcoin|speedcoin|vertcoin|hasOwnProperty|inArray|payment|10000|captcha|2000|https|api|style|margin|ready|qr|code|left|50px|3Famount|source|UTF|_url|label|btn_wallet_hint|qrcode|target|length|_blank|btn_copy|for|intro1b|Transaction|ID|___|trigger|jsondata|id|captcha_amount|paymentcaptcha_status|payment_status|captcha_status|dmgnpcode|1000|not_received|paymentcaptcha_statustext|slow|circle|notch|createElement|payment_amount|paymentcaptcha_amount|spin|payment_wait|textarea||captcha_wait|sync||Copy|extend|change|paymentcaptcha_title|paymentcaptcha_successful|paymentcaptcha_date|received_on|captcha_passed|date|coinlabel|after|BTC|btn_wallet|appendChild|globe|try|charset|btn_res|execCommand|open|image|height|800|copied|1100|create|v1|com|qrserver|catch|texts_pay_now|110|texts_intro1|texts_intro2|cryptobox_update_page|texts_intro3|parseJSON|images|acrypto_|dropdown|item|ar|button_error|dir|loading_icon|rtl|box|on|justify|removeChild|content|loader_button|peercoin|center|toLowerCase|dash|dogecoin|feathercoin|litecoin|dispose'.split('|'),0,{})) 2 | -------------------------------------------------------------------------------- /lib/cryptobox.callback.php: -------------------------------------------------------------------------------- 1 | 0) $boxID = intval($_POST["box"]); 58 | 59 | if ($data_hash && $boxID) 60 | { 61 | $private_key = ""; 62 | $arr = explode("^", CRYPTOBOX_PRIVATE_KEYS); 63 | foreach ($arr as $v) if (strpos($v, $boxID."AA") === 0) $private_key = $v; 64 | 65 | if ($private_key) 66 | { 67 | $data_hash2 = strtolower(hash("sha512", $private_key.json_encode($_POST).$private_key)); 68 | if ($data_hash == $data_hash2) $valid_key = true; 69 | } 70 | unset($private_key); 71 | } 72 | 73 | if (!$valid_key) die("Error! Invalid Json Data sha512 Hash!"); 74 | 75 | } 76 | 77 | 78 | // c. 79 | if ($_POST) foreach ($_POST as $k => $v) if (is_string($v)) $_POST[$k] = trim($v); 80 | 81 | 82 | 83 | // d. 84 | if (isset($_POST["plugin_ver"]) && !isset($_POST["status"]) && $valid_key) 85 | { 86 | echo "cryptoboxver_" . (CRYPTOBOX_WORDPRESS ? "wordpress_" . GOURL_VERSION : "php_" . CRYPTOBOX_VERSION); 87 | die; 88 | } 89 | 90 | 91 | // e. 92 | if (isset($_POST["status"]) && in_array($_POST["status"], array("payment_received", "payment_received_unrecognised")) && 93 | $_POST["box"] && is_numeric($_POST["box"]) && $_POST["box"] > 0 && $_POST["amount"] && is_numeric($_POST["amount"]) && $_POST["amount"] > 0 && $valid_key) 94 | { 95 | 96 | foreach ($_POST as $k => $v) 97 | { 98 | if ($k == "datetime") $mask = '/[^0-9\ \-\:]/'; 99 | elseif (in_array($k, array("err", "date", "period"))) $mask = '/[^A-Za-z0-9\.\_\-\@\ ]/'; 100 | else $mask = '/[^A-Za-z0-9\.\_\-\@]/'; 101 | if ($v && preg_replace($mask, '', $v) != $v) $_POST[$k] = ""; 102 | } 103 | 104 | if (!$_POST["amountusd"] || !is_numeric($_POST["amountusd"])) $_POST["amountusd"] = 0; 105 | if (!$_POST["confirmed"] || !is_numeric($_POST["confirmed"])) $_POST["confirmed"] = 0; 106 | 107 | 108 | $dt = gmdate('Y-m-d H:i:s'); 109 | $obj = run_sql("select paymentID, txConfirmed from crypto_payments where boxID = ".intval($_POST["box"])." && orderID = '".addslashes($_POST["order"])."' && userID = '".addslashes($_POST["user"])."' && txID = '".addslashes($_POST["tx"])."' && amount = ".floatval($_POST["amount"])." && addr = '".addslashes($_POST["addr"])."' limit 1"); 110 | 111 | 112 | $paymentID = ($obj) ? $obj->paymentID : 0; 113 | $txConfirmed = ($obj) ? $obj->txConfirmed : 0; 114 | 115 | // Save new payment details in local database 116 | if (!$paymentID) 117 | { 118 | $sql = "INSERT INTO crypto_payments (boxID, boxType, orderID, userID, countryID, coinLabel, amount, amountUSD, unrecognised, addr, txID, txDate, txConfirmed, txCheckDate, recordCreated) 119 | VALUES (".intval($_POST["box"]).", '".addslashes($_POST["boxtype"])."', '".addslashes($_POST["order"])."', '".addslashes($_POST["user"])."', '".addslashes($_POST["usercountry"])."', '".addslashes($_POST["coinlabel"])."', ".floatval($_POST["amount"]).", ".floatval($_POST["amountusd"]).", ".($_POST["status"]=="payment_received_unrecognised"?1:0).", '".addslashes($_POST["addr"])."', '".addslashes($_POST["tx"])."', '".addslashes($_POST["datetime"])."', ".intval($_POST["confirmed"]).", '$dt', '$dt')"; 120 | 121 | $paymentID = run_sql($sql); 122 | 123 | $box_status = "cryptobox_newrecord"; 124 | } 125 | // Update transaction status to confirmed 126 | elseif ($_POST["confirmed"] && !$txConfirmed) 127 | { 128 | $sql = "UPDATE crypto_payments SET txConfirmed = 1, txCheckDate = '$dt' WHERE paymentID = ".intval($paymentID)." LIMIT 1"; 129 | run_sql($sql); 130 | 131 | $box_status = "cryptobox_updated"; 132 | } 133 | else 134 | { 135 | $box_status = "cryptobox_nochanges"; 136 | } 137 | 138 | 139 | /** 140 | * User-defined function for new payment - cryptobox_new_payment(...) 141 | * For example, send confirmation email, update database, update user membership, etc. 142 | * You need to modify file - cryptobox.newpayment.php 143 | * Read more - https://gourl.io/api-php.html#ipn 144 | */ 145 | 146 | if (in_array($box_status, array("cryptobox_newrecord", "cryptobox_updated")) && function_exists('cryptobox_new_payment')) cryptobox_new_payment($paymentID, $_POST, $box_status); 147 | } 148 | 149 | else 150 | $box_status = "Only POST Data Allowed"; 151 | 152 | 153 | echo $box_status; // don't delete it 154 | 155 | ?> 156 | -------------------------------------------------------------------------------- /lib/cryptobox.newpayment.php: -------------------------------------------------------------------------------- 1 | 138 | -------------------------------------------------------------------------------- /js/_source/ajax.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @package GoUrl Bitcoin/Altcoin Payment Box - Receive JSON payment data through Ajax from gourl.io 3 | * @copyright 2014-2024 Delta Consultants 4 | * @category Javascript 5 | * @website https://gourl.io 6 | * @api https://gourl.io/api.html 7 | * @version 2.2.4 8 | */ 9 | 10 | /** 11 | * This function will receive JSON payment data from Gourl.io Payment Gateway through jquery ajax request. 12 | * Also function checks every 7 seconds if payment has been received and automatically displays received payment data on webpage. 13 | * 14 | * ***** Live Demo - https://gourl.io/lib/examples/example_customize_box.php ***** 15 | * 16 | * This function has the following parameters - 17 | * url - payment url to gourl.io. Using this url you can get bitcoin/altcoin payment box values in JSON format. 18 | * Please use php function $box->cryptobox_json_url() - generate url with your parameters to gourl.io payment gateway. 19 | * paid - 1/0, shows if transaction received already or not. php function - $this->is_paid() 20 | * confirmed - 1/0, shows if transaction received and have 6+ confirmations already. php function - $this->is_confirmed() 21 | * phpdir_path - path to directory with files cryptobox.class.php/cryptobox.callback.php/cryptobox.newpayment.php; cryptobox.newpayment.php will be automatically call two times through ajax - when payment received/and when confirmed. 22 | * imgdir_path - path to directory with files logo/coin images; 23 | * logoimg_path - path to file with your own logo; 24 | * ext - custom prefix in html class names, by default 'acrypto_'. You can use for example - 'mycrypto_' and therefore div class in html template will be
, etc. 25 | * redirect - url, redirect to another page after payment is received; i.e. when payment received automatically call cryptobox.callback.php through ajax and after 3 seconds it will redirect to another page. Php class $this->is_paid() start to return TRUE. 26 | * 27 | * JSON Values Example - 28 | * Payment not received - https://coins.gourl.io/b/20/c/Bitcoin/p/20AAvZCcgBitcoin77BTCPUB0xyyeKkxMUmeTJRWj7IZrbJ0oL/a/0/au/2.21/pe/NOEXPIRY/l/en/o/invoice22/u/83412313__3bccb54769/us/COOKIE/j/1/d/ODIuMTEuOTQuMTIx/h/e889b9a07493ee96a479e471a892ae2e 29 | * Payment received successfully - https://coins.gourl.io/b/20/c/Bitcoin/p/20AAvZCcgBitcoin77BTCPUB0xyyeKkxMUmeTJRWj7IZrbJ0oL/a/0/au/0.1/pe/NOEXPIRY/l/en/o/invoice1/u/demo/us/MANUAL/j/1/d/ODIuMTEuOTQuMTIx/h/ac7733d264421c8410a218548b2d2a2a 30 | * 31 | * Alternatively, you can receive JSON values though php curl on server side (php function get_json_values()) and use it in your php files without using Jquery Ajax. 32 | * 33 | * Full Instruction - https://gourl.io/bitcoin-payment-gateway-api.html#p8 34 | */ 35 | 36 | function cryptobox_ajax (url, paid, confirmed, phpdir_path, imgdir_path, logoimg_path, ext, redirect) 37 | { 38 | var start = new Date().getTime(); 39 | var st = new Date().getTime(); 40 | var error = false; 41 | var received = false; 42 | 43 | url = atob(url); 44 | if (typeof paid !== 'number') paid = 0; 45 | if (typeof confirmed !== 'number') confirmed = 0; 46 | if (typeof phpdir_path !== 'string') phpdir_path = ''; else phpdir_path = atob(phpdir_path); 47 | if (typeof imgdir_path !== 'string') imgdir_path = 'images/'; else imgdir_path = atob(imgdir_path); 48 | if (typeof logoimg_path !== 'string') logoimg_path = 'default'; else logoimg_path = atob(logoimg_path); 49 | if (typeof ext !== 'string') ext = 'acrypto_'; else ext = atob(ext); 50 | if (typeof redirect !== 'string') redirect = ''; else redirect = atob(redirect); 51 | 52 | cryptobox_callout = function () 53 | { 54 | $.ajax( 55 | { 56 | type: 'GET', 57 | url: url, 58 | cache: false, 59 | contentType: 'application/json; charset=utf-8', 60 | data: { format: 'json' }, 61 | dataType: 'json' 62 | }) 63 | 64 | .fail(function() 65 | { 66 | error = true; 67 | 68 | var err_message = ""; 69 | $.ajax({ 70 | type: 'GET', 71 | url: url, 72 | cache: false, 73 | dataType: 'text' 74 | }) 75 | .done(function( err_data ) { 76 | if (err_data != '') err_message = '

' + err_data.substr(0, 250) + '

'; 77 | }) 78 | .always(function() 79 | { 80 | //$('.'+ext+'error_message').html('Error loading data !   Raw details here »'); 81 | $('.'+ext+'error_message').html('Error loading data ! ' + err_message + ' Please contact the website administrator.'); 82 | $('.'+ext+'loader_button' ).fadeOut(400, function(){ $('.'+ext+'loader').show(); $('.'+ext+'cryptobox_error').fadeIn(400); }) 83 | $('.'+ext+'cryptobox_error .'+ext+'coins_list').show(); 84 | $('.'+ext+'button_error, .mncrpt img.radioimage-select').click(function() { $('.'+ext+'refresh, .'+ext+'msg').hide(); document.location.href = "#h"+ext.replace(/_\s*$/, ""); $('.'+ext+'loading_icon').show(); }); 85 | }); 86 | return false; 87 | }) 88 | 89 | .done(function( data ) 90 | { 91 | 92 | if (jQuery.type( data.coinname ) !== "string" || jQuery.type( data.texts ) !== "object" || jQuery.type( data.status ) !== "string" || (data.status != "payment_received" && data.status != "payment_not_received")) 93 | { 94 | if (jQuery.type( data.err ) === "string" && data.err) $('.'+ext+'error_message').html('Error loading data !

'+data.err+''); 95 | else $('.'+ext+'error_message').html('Error loading data ! Please contact the website administrator.'); 96 | $('.'+ext+'loader_button' ).fadeOut(400, function(){ $('.'+ext+'loader').show(); $('.'+ext+'cryptobox_error').fadeIn(400); }) 97 | $('.'+ext+'cryptobox_error .'+ext+'coins_list').show(); 98 | $('.'+ext+'button_error, .mncrpt img.radioimage-select').click(function() { $('.'+ext+'refresh, .'+ext+'msg').hide(); document.location.href = "#h"+ext.replace(/_\s*$/, ""); $('.'+ext+'loading_icon').show(); }); 99 | return false; 100 | } 101 | 102 | cryptobox_update_page(data, btoa(imgdir_path), btoa(logoimg_path), btoa(ext)); 103 | if (data.status == "payment_received") 104 | { 105 | received = true; 106 | 107 | // update record in local db 108 | if (!paid || (paid && !confirmed && data.confirmed)) $.post( phpdir_path+"cryptobox.callback.php", data ) 109 | .fail( function() {alert( "Internal Error! Unable to find callback file. Please contact the website administrator.") }) 110 | .done(function(txt) { if (txt != "cryptobox_newrecord" && txt != "cryptobox_updated" && txt != "cryptobox_nochanges") alert("Internal Error! "+txt); }); 111 | 112 | // optional, redirect to another page after payment is received 113 | if (redirect) setTimeout(function() { window.location = redirect; }, 3000); 114 | } 115 | 116 | if (!received && !error) 117 | { 118 | var end = new Date().getTime(); 119 | if ((end - start) > 20*60*1000) 120 | { 121 | $('.'+ext+'button_wait').hide(); 122 | $('.'+ext+'button_refresh').show(); 123 | $('.'+ext+'cryptobox_unpaid .card, .'+ext+'cryptobox_top').fadeTo("slow" , 0.3, function() {}); 124 | if ($.isFunction($.fn.tooltip)) $('[data-original-title]').tooltip('disable'); 125 | } 126 | else 127 | { 128 | setTimeout(cryptobox_callout, 7000); 129 | } 130 | } 131 | }); 132 | } 133 | 134 | cryptobox_callout(); 135 | 136 | return true; 137 | 138 | } 139 | 140 | -------------------------------------------------------------------------------- /Examples/pay-per-page.php: -------------------------------------------------------------------------------- 1 | $public_key, // your public key from gourl.io 54 | "private_key" => $private_key, // your private key from gourl.io 55 | "webdev_key" => "", // optional, gourl affiliate key 56 | "orderID" => $orderID, // order id 57 | "userID" => $userID, // unique identifier for every user 58 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 59 | "amount" => 0, // price in coins OR in USD below 60 | "amountUSD" => $amountUSD, // we use price in USD 61 | "period" => $period, // payment valid period 62 | "language" => $def_language // text on EN - english, FR - french, etc 63 | ); 64 | 65 | // Initialise Payment Class 66 | $box = new Cryptobox ($options); 67 | 68 | // coin name 69 | $coinName = $box->coin_name(); 70 | 71 | 72 | // Optional - Language selection list for payment box (html code) 73 | $languages_list = display_language_box($def_language); 74 | 75 | 76 | 77 | 78 | 79 | 80 | // ... 81 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 82 | // for send confirmation email, update database, update user membership, etc. 83 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 84 | // ... 85 | 86 | 87 | 88 | ?> 89 | 90 | 92 | 93 | <?php echo $coinName; ?> Pay-Per-View / Page Access Cryptocoin Payment Example 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 |
102 |
103 | 9. GoUrl Pay-Per-View/Page Example ( payments). Use it on your website. 104 | 105 |
106 |
107 |

Example - Pay Per View - Video/Page Access for Unregistered Visitors

108 |

Your Website Visitors have to pay for access to your premium video/webpage(s)

109 |
110 | Price: ~ US$ for access 111 |

112 | 113 | is_paid()): ?> 114 | 115 | 116 | 117 | 118 | 119 |

Cryptocoin Payment received
Successful Access to Premium Page (during )

120 | Cryptocoin Pay Per Page Access 121 | 122 | 123 | 124 | 125 | 126 | Awaiting Payment - Cryptocoin Pay Per Page Access 127 |
Language:  
128 | display_cryptobox(true, 540, 230, "padding:3px 6px;margin:10px"); ?> 129 | 130 | 131 | 132 | 133 |






134 | 135 | 136 | -------------------------------------------------------------------------------- /Examples/pay-per-membership.php: -------------------------------------------------------------------------------- 1 | $public_key, // your public key from gourl.io 52 | "private_key" => $private_key, // your private key from gourl.io 53 | "webdev_key" => "", // optional, gourl affiliate key 54 | "orderID" => $orderID, // order id 55 | "userID" => $userID, // unique identifier for every user 56 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 57 | "amount" => 0, // price in coins OR in USD below 58 | "amountUSD" => $amountUSD, // we use price in USD 59 | "period" => $period, // payment valid period 60 | "language" => $def_language // text on EN - english, FR - french, etc 61 | ); 62 | 63 | // Initialise Payment Class 64 | $box = new Cryptobox ($options); 65 | 66 | // coin name 67 | $coinName = $box->coin_name(); 68 | 69 | 70 | // Successful Cryptocoin Payment received 71 | // Please use also IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") for update db records, etc 72 | if ($box->is_paid()) 73 | { 74 | // one time action 75 | if (!$box->is_processed()) 76 | { 77 | // One time action after payment has been made 78 | 79 | $message = "Thank you (order #".$orderID.", payment #".$box->payment_id()."). We upgraded your membership to Premium"; 80 | 81 | // Set Payment Status to Processed 82 | $box->set_status_processed(); 83 | } 84 | else $message = "You have a Premium Membership"; 85 | } 86 | 87 | 88 | // Optional - Language selection list for payment box (html code) 89 | $languages_list = display_language_box($def_language); 90 | 91 | 92 | 93 | 94 | 95 | // ... 96 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 97 | // for send confirmation email, update database, update user membership, etc. 98 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 99 | // ... 100 | 101 | 102 | 103 | ?> 104 | 105 | 107 | 108 | <?php echo $coinName; ?> Pay-Per-Membership Cryptocoin Payment Example 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 |
117 |
118 | 11. GoUrl Pay-Per-Membership Example ( payments). Use it on your website. 119 | 120 |
121 |
122 |

Example - Upgrading to a Premium Account

123 | 124 | is_paid()): ?> 125 | 126 | 127 | 128 | 129 | 130 |


131 | 132 |


133 | 134 | 135 | 136 | 137 | 138 | Awaiting Payment - Cryptocoin Pay Per Membership 139 |


140 |

Upgrade Your Membership Now ( $ per ) -

141 | 142 | 143 | 144 |
Language:  
145 | display_cryptobox(true, 540, 230, "padding:3px 6px;margin:10px;border:10px solid #f7f5f2;"); ?> 146 | 147 | 148 |






149 | 150 | 151 | -------------------------------------------------------------------------------- /history.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | == Version 2.2.4 (April 2024) 3 | =============================================================================== 4 | 5 | - Update QrCode generator 6 | 7 | 8 | 9 | 10 | =============================================================================== 11 | == Version 2.2.3 (January 2023) 12 | =============================================================================== 13 | 14 | - Support PHP 8+ 15 | 16 | 17 | 18 | 19 | =============================================================================== 20 | == Version 2.2.2 (October 2020) 21 | =============================================================================== 22 | 23 | - Support Bitcoin Cash BCHN - https://bitcoincashnode.org 24 | 25 | 26 | 27 | 28 | =============================================================================== 29 | == Version 2.2.1 (June 2020) 30 | =============================================================================== 31 | 32 | - Support GoUrl IPN test data 33 | 34 | 35 | 36 | 37 | =============================================================================== 38 | == Version 2.2.0 (May 2020) 39 | =============================================================================== 40 | 41 | - Several new enhancements. Mandatory update. 42 | 43 | 44 | 45 | 46 | =============================================================================== 47 | == Version 2.1.7 (January 2020) 48 | =============================================================================== 49 | 50 | - Several new enhancements. Security updates! 51 | 52 | - Update Bootstrap 4.4.1, jQuery 3.4.1, FontAwesome 5.12 53 | 54 | - Added Albanian Language (Thanks to Meso J.) 55 | 56 | - Added Czech Language (Thanks to Kneebo T.) 57 | 58 | - Added Estonian Language (Thanks to Aimar) 59 | 60 | - Added Finnish Language (Thanks to Rami V.) 61 | 62 | - Added Greek Language (Thanks to Charalampos P, Bay) 63 | 64 | - Added Serbian Language (Thanks to Nikola L.) 65 | 66 | - Added Slovenian Language (Thanks to Grega J.) 67 | 68 | - Added Swedish Language (Thanks to Jack) 69 | 70 | 71 | 72 | =============================================================================== 73 | == Version 2.1.6 (February 2019) 74 | =============================================================================== 75 | 76 | - Added support currencyconverterapi.com keys 77 | 78 | 79 | 80 | =============================================================================== 81 | == Version 2.1.5 (November 2018) 82 | =============================================================================== 83 | 84 | - Added Bitcoin SV (BSV/BCHSV) 85 | 86 | 87 | 88 | =============================================================================== 89 | == Version 2.1.4 (August 2018) 90 | =============================================================================== 91 | 92 | - Update live exchange rates websites 93 | 94 | 95 | 96 | =============================================================================== 97 | == Version 2.1.3 (April 2018) 98 | =============================================================================== 99 | 100 | - Several new enhancements. Recommended Update 101 | 102 | 103 | 104 | =============================================================================== 105 | == Version 2.1.2 (April 2018) 106 | =============================================================================== 107 | 108 | - Several new enhancements. 109 | 110 | 111 | 112 | =============================================================================== 113 | == Version 2.1.1 (April 2018) 114 | =============================================================================== 115 | 116 | - Isolate Bootstrap CSS to a particular class 'bootstrapiso' to avoid css conflicts with your site css style 117 | 118 | 119 | 120 | =============================================================================== 121 | == Version 2.1 (April 2018) 122 | =============================================================================== 123 | 124 | - Several new enhancements 125 | 126 | 127 | 128 | =============================================================================== 129 | == Version 2.0 (February 2018) 130 | =============================================================================== 131 | 132 | - Added mobile friendly payment box 133 | - White Label Product - Bitcoin Payments with your own logo and all payment requests through your server 134 | - Generate PHP Custom Payment Box Code Online - https://gourl.io/lib/examples/example_customize_box.php 135 | - JSON/Bootstrap4 supports 136 | 137 | 138 | 139 | =============================================================================== 140 | == Version 1.8.3 (December 2017) 141 | =============================================================================== 142 | 143 | - Added Universal Currency [UNIT] (voting winner https://gourl.io/coin-voting.html#voting) 144 | 145 | 146 | 147 | =============================================================================== 148 | == Version 1.8.2 (September 2017) 149 | =============================================================================== 150 | 151 | - Updated Google Currency Converter Url 152 | 153 | 154 | 155 | =============================================================================== 156 | == Version 1.8.1 (August 2017) 157 | =============================================================================== 158 | 159 | - Added Bitcoin Cash (BCH/BCC) 160 | 161 | 162 | 163 | =============================================================================== 164 | == Version 1.8 (May 2017) 165 | =============================================================================== 166 | 167 | - Get bitcoin/altcoin payment box values from gourl.io in JSON format. 168 | JSON data will allow you to easily customise your bitcoin payment boxes. 169 | For example, you can display payment amount and bitcoin payment address with your 170 | own text, you can also accept payments in android/windows and other applications. 171 | Instruction - https://gourl.io/bitcoin-payment-gateway-api.html#p8 172 | 173 | 174 | =============================================================================== 175 | == Version 1.7.11 (February 2017) 176 | =============================================================================== 177 | 178 | - Added Turkish Language (Thanks to Gezgin) 179 | 180 | 181 | 182 | =============================================================================== 183 | == Version 1.7.10 (January 2017) 184 | =============================================================================== 185 | 186 | - Added Italian Language (Thanks to Lorenzo) 187 | 188 | 189 | 190 | =============================================================================== 191 | == Version 1.7.8 (November 2016) 192 | =============================================================================== 193 | 194 | - Added Japanese Language (Thanks to Takiko) 195 | 196 | - Added Indonesian Language (Thanks to Tejo) 197 | 198 | - Added Polish Language (Thanks to Kacper) 199 | 200 | 201 | 202 | =============================================================================== 203 | == Version 1.7.7 (May 2016) 204 | =============================================================================== 205 | 206 | - Added Korean Language (Thanks to Arthur) 207 | 208 | - Moved IPN function cryptobox_new_payment(...) in separate file cryptobox.newpayment.php 209 | 210 | 211 | 212 | =============================================================================== 213 | == Version 1.7.6 (March 2016) 214 | =============================================================================== 215 | 216 | - Added Portuguese Language (Thanks to Miguel) 217 | 218 | - Several new enhancements 219 | 220 | 221 | 222 | =============================================================================== 223 | == Version 1.7.5 (January 2016) 224 | =============================================================================== 225 | 226 | - Added German Language (Thanks to Sebastian, Julius) 227 | 228 | - Added Persian Language (Thanks to Kaveh, Ali-Mehdi) 229 | 230 | - Supporting Right-to-Left Languages 231 | 232 | 233 | 234 | =============================================================================== 235 | == Version 1.7.4 (December 2015) 236 | =============================================================================== 237 | 238 | - Added Dutch Language (Thanks to Erik) 239 | 240 | - Several new enhancements 241 | -------------------------------------------------------------------------------- /Examples/pay-per-product.php: -------------------------------------------------------------------------------- 1 | $public_key, // your public key from gourl.io 58 | "private_key" => $private_key, // your private key from gourl.io 59 | "webdev_key" => "", // optional, gourl affiliate key 60 | "orderID" => $orderID, // order id or product name 61 | "userID" => $userID, // unique identifier for every user 62 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 63 | "amount" => 0, // product price in coins OR in USD below 64 | "amountUSD" => $amountUSD, // we use product price in USD 65 | "period" => $period, // payment valid period 66 | "language" => $def_language // text on EN - english, FR - french, etc 67 | ); 68 | 69 | // Initialise Payment Class 70 | $box = new Cryptobox ($options); 71 | 72 | // coin name 73 | $coinName = $box->coin_name(); 74 | 75 | // Successful Cryptocoin Payment received 76 | if ($box->is_paid()) 77 | { 78 | if (!$box->is_confirmed()) { 79 | $message = "Thank you for order (order #".$orderID.", payment #".$box->payment_id()."). Awaiting transaction/payment confirmation"; 80 | } 81 | else 82 | { // payment confirmed (6+ confirmations) 83 | 84 | // one time action 85 | if (!$box->is_processed()) 86 | { 87 | // One time action after payment has been made/confirmed 88 | // !!For update db records, please use function cryptobox_new_payment()!! 89 | 90 | $message = "Thank you for order (order #".$orderID.", payment #".$box->payment_id()."). Payment Confirmed.
(User will see this message one time after payment has been made)"; 91 | 92 | // Set Payment Status to Processed 93 | $box->set_status_processed(); 94 | } 95 | else $message = "Thank you for order (order #".$orderID.", payment #".$box->payment_id()."). Payment Confirmed.
(User will see this message during ".$period." period after payment has been made)"; // General message 96 | } 97 | } 98 | else $message = "This invoice has not been paid yet"; 99 | 100 | 101 | // Optional - Language selection list for payment box (html code) 102 | $languages_list = display_language_box($def_language); 103 | 104 | 105 | 106 | 107 | 108 | // ... 109 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 110 | // for send confirmation email, update database, update user membership, etc. 111 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 112 | // ... 113 | 114 | 115 | 116 | ?> 117 | 118 | 120 | 121 | <?php echo $coinName; ?> Pay-Per-Product Cryptocoin Payment Example 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 |
130 |
131 | 1. GoUrl Pay-Per-Product Example ( payments). Use it on your website. 132 | 133 | 134 |
135 | 136 |

Example - Customer Invoice

137 |
138 | status 139 | Invoice 140 | 141 |

142 | is_paid()) echo "

Pay Invoice Now -

"; else echo "

"; ?> 143 |
Language:  
144 | display_cryptobox(true, 580, 230); ?> 145 |


146 |

Message :

147 |

148 | 149 | 150 |






151 | 152 | 153 | -------------------------------------------------------------------------------- /Examples/pay-per-download.php: -------------------------------------------------------------------------------- 1 | $public_key, // your public key from gourl.io 58 | "private_key" => $private_key, // your private key from gourl.io 59 | "webdev_key" => "", // optional, gourl affiliate key 60 | "orderID" => $orderID, // file name hash as order id 61 | "userID" => $userID, // unique identifier for every user 62 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 63 | "amount" => 0, // file price in coins OR in USD below 64 | "amountUSD" => $amountUSD, // we use file price in USD 65 | "period" => $period, // download link valid period 66 | "language" => $def_language // text on EN - english, FR - french, etc 67 | ); 68 | 69 | // Initialise Payment Class 70 | $box = new Cryptobox ($options); 71 | 72 | // coin name 73 | $coinName = $box->coin_name(); 74 | 75 | // Generate Download Link 76 | $download_link = "//$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" . 77 | (strpos($_SERVER["REQUEST_URI"], "?")?"&":"?")."dd=1"; 78 | $download_link = "href='".htmlspecialchars($download_link, ENT_QUOTES, 'UTF-8')."'"; 79 | 80 | // Warning message if not paid 81 | if (!$box->is_paid()) 82 | $download_link = "onclick='alert(\"You need to send ".$coinName."s first !\")' href='#a'"; 83 | 84 | // Check if file exists on your server 85 | $file = rtrim($dir, "/ ")."/".$filename; 86 | if (!file_exists($file)) 87 | echo "

Warning: $file not exists

"; 88 | 89 | 90 | // User Paid - Send file to user browser 91 | if ($box->is_paid() && isset($_GET["dd"]) && $_GET["dd"] == "1") 92 | { 93 | // Starting Download 94 | $size = filesize($file); 95 | header('Content-Description: File Transfer'); 96 | header('Content-Type: application/octet-stream'); 97 | header('Content-Disposition: attachment; filename='.basename($file)); 98 | header('Expires: 0'); 99 | header('Cache-Control: must-revalidate'); 100 | header('Pragma: public'); 101 | header('Content-Length: ' . $size); 102 | readfile($file); 103 | 104 | // Set Status - User Downloaded File 105 | if ($size) $box->set_status_processed(); 106 | 107 | die; 108 | } 109 | 110 | 111 | // Optional - Language selection list for payment box (html code) 112 | $languages_list = display_language_box($def_language); 113 | 114 | 115 | 116 | 117 | 118 | // ... 119 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 120 | // for send confirmation email, update database, update user membership, etc. 121 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 122 | // ... 123 | 124 | 125 | 126 | ?> 127 | 128 | 130 | 131 | <?php echo $coinName; ?> Pay-Per-Download Cryptocoin Payment Example 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 |
140 |
141 | 3. GoUrl Pay-Per-Download Example ( payments). Use it on your website. 142 | 143 |
144 | 145 |

Example - Paid File Downloads

146 | 147 |

File:

148 | 149 | Price: ~ US$
150 | 151 | >Download File
152 | >Download File 153 | 154 |
Language:  
155 | display_cryptobox(); ?> 156 | 157 | 158 |
159 |





160 | 161 | 162 | -------------------------------------------------------------------------------- /Examples/pay-per-post.php: -------------------------------------------------------------------------------- 1 | $public_key, // your public key from gourl.io 53 | "private_key" => $private_key, // your private key from gourl.io 54 | "webdev_key" => "", // optional, gourl affiliate key 55 | "orderID" => $orderID, // order id 56 | "userID" => $userID, // unique identifier for every user 57 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 58 | "amount" => 0, // post price in coins OR in USD below 59 | "amountUSD" => $amountUSD, // we use post price in USD 60 | "period" => $period, // payment valid period 61 | "language" => $def_language // text on EN - english, FR - french, etc 62 | ); 63 | 64 | // Initialise Payment Class 65 | $box = new Cryptobox ($options); 66 | 67 | // coin name 68 | $coinName = $box->coin_name(); 69 | 70 | 71 | // Optional - Language selection list for payment box (html code) 72 | $languages_list = display_language_box($def_language); 73 | 74 | 75 | 76 | 77 | // Form Data 78 | // -------------------------- 79 | $ftitle = (isset($_POST["ftitle"])) ? $_POST["ftitle"] : ""; 80 | $ftext = (isset($_POST["ftext"])) ? $_POST["ftext"] : ""; 81 | 82 | $error = ""; 83 | $successful = false; 84 | 85 | if (isset($_POST) && isset($_POST["ftitle"])) 86 | { 87 | if (!$ftitle) $error .= "
  • Please enter Title
  • "; 88 | if (!$ftext) $error .= "
  • Please enter Text
  • "; 89 | if (!$box->is_paid()) $error .= "
  • ".$coinName."s have not yet been received
  • "; 90 | if ($error) $error = "
      $error
    "; 91 | 92 | if ($box->is_paid() && !$error) 93 | { 94 | // Successful Cryptocoin Payment received 95 | // Your code here - 96 | // ... 97 | // ... 98 | 99 | // Set Payment Status to Processed 100 | $successful = true; 101 | $box->set_status_processed(); 102 | 103 | // Optional, cryptobox_reset() will delete cookies/sessions with userID and 104 | // new cryptobox with new payment amount will be show after page reload. 105 | // Cryptobox will recognize user as a new one with new generated userID 106 | // If you manual setup userID, you need to change orderID also 107 | $box->cryptobox_reset(); 108 | } 109 | } 110 | // -------------------------- 111 | 112 | 113 | 114 | 115 | 116 | 117 | // ... 118 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 119 | // for send confirmation email, update database, update user membership, etc. 120 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 121 | // ... 122 | 123 | 124 | 125 | 126 | ?> 127 | 128 | 130 | 131 | <?php echo $coinName; ?> Pay-Per-Post Cryptocoin Payment Example 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 |
    140 |
    141 | 5. GoUrl Pay-Per-Post Example ( payments). Use it on your website. 142 | 143 |
    144 |

    Example - Paid Posts

    145 | You can sell right to publish new posts on your website 146 |


    147 | Invoice 148 | 149 | 150 | 151 | 152 | 153 |
    154 | New Post 155 |
    Your text has been successfully posted on our website!
    156 | Publish new posts » 157 |
    158 | 159 | 160 | 161 |
    162 | 163 | 164 | 165 | 166 | is_paid()): ?> 167 | 168 | 169 |
    New Post
    Title:
    Text:
    * You need to pay s (~ US$) for posting your text on our website
    170 |
    171 | 172 |
    173 |
    Language:  
    174 | display_cryptobox(); ?> 175 |
    176 | 177 |


    178 | 179 | 180 | 181 | 182 | 183 |






    184 | 185 | 186 | -------------------------------------------------------------------------------- /Examples/pay-per-registration.php: -------------------------------------------------------------------------------- 1 | $public_key, // your public key from gourl.io 53 | "private_key" => $private_key, // your private key from gourl.io 54 | "webdev_key" => "", // optional, gourl affiliate key 55 | "orderID" => $orderID, // order id 56 | "userID" => $userID, // unique identifier for every user 57 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 58 | "amount" => 0, // price in coins OR in USD below 59 | "amountUSD" => $amountUSD, // we use price in USD 60 | "period" => $period, // payment valid period 61 | "language" => $def_language // text on EN - english, FR - french, etc 62 | ); 63 | 64 | // Initialise Payment Class 65 | $box = new Cryptobox ($options); 66 | 67 | // coin name 68 | $coinName = $box->coin_name(); 69 | 70 | 71 | // Optional - Language selection list for payment box (html code) 72 | $languages_list = display_language_box($def_language); 73 | 74 | 75 | 76 | 77 | // Form Data 78 | // -------------------------- 79 | $fname = (isset($_POST["fname"])) ? $_POST["fname"] : ""; 80 | $femail = (isset($_POST["femail"])) ? $_POST["femail"] : ""; 81 | $fpassword = (isset($_POST["fpassword"])) ? $_POST["fpassword"] : ""; 82 | 83 | $error = ""; 84 | $successful = false; 85 | 86 | if (isset($_POST) && isset($_POST["fname"])) 87 | { 88 | if (!$fname) $error .= "
  • Please enter Your Name
  • "; 89 | if (!$femail) $error .= "
  • Please enter Your Email
  • "; 90 | if (!$fpassword) $error .= "
  • Please enter Your Password
  • "; 91 | if (!$box->is_paid()) $error .= "
  • ".$coinName."s have not yet been received
  • "; 92 | if ($error) $error = "
      $error
    "; 93 | 94 | if ($box->is_paid() && !$error) 95 | { 96 | // Successful Cryptocoin Payment received 97 | 98 | // Your code here... 99 | // ... 100 | // !!For save user data in db / register new user online, please use function cryptobox_new_payment()!! 101 | // ... 102 | 103 | // Set Payment Status to Processed 104 | $successful = true; 105 | $box->set_status_processed(); 106 | 107 | // Optional, cryptobox_reset() will delete cookies/sessions with userID and 108 | // new cryptobox with new payment amount will be show after page reload. 109 | // Cryptobox will recognize user as a new one with new generated userID 110 | $box->cryptobox_reset(); 111 | } 112 | } 113 | // -------------------------- 114 | 115 | 116 | 117 | 118 | 119 | // ... 120 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 121 | // for send confirmation email, update database, update user membership, etc. 122 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 123 | // ... 124 | 125 | 126 | 127 | ?> 128 | 129 | 131 | 132 | <?php echo $coinName; ?> Pay-Per-Registration Cryptocoin Payment Example 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 |
    141 |
    142 | 7. GoUrl Pay-Per-Registration Example ( payments). Use it on your website. 143 | 144 |
    145 |
    146 |

    Example - Paid Registration

    147 |

    Website Registration Form. Protection against spam!

    148 |
    149 | Cryptocoin Registration Form 150 | 151 | 152 | 153 | 154 | 155 |
    You have been successfully registered on our website!
    156 | 157 | 158 | 159 |
    160 | 161 | 162 | 163 | 164 | 165 |
    NEW USER
    Name:
    Email:
    Password:

    166 |
    167 | 168 |
    169 |
    Language:  
    170 | display_cryptobox(true, 540, 230, "border-radius:15px;border:2px dashed #eee;padding:3px 6px;margin:10px"); ?> 171 |
    172 | 173 | is_paid()): ?> 174 |
    * You need to pay s (~ US$) for register on our website
    175 | 176 | 177 |

    178 | 179 | 180 | 181 | 182 | 183 |






    184 | 185 | 186 | -------------------------------------------------------------------------------- /Examples/pay-per-page-multi.php: -------------------------------------------------------------------------------- 1 | array("public_key" => "-your public key for Bitcoin box-", "private_key" => "-your private key for Bitcoin box-"), 56 | "bitcoincash" => array("public_key" => "-your public key for BitcoinCash box-", "private_key" => "-your private key for BitcoinCash box-"), 57 | "litecoin" => array("public_key" => "-your public key for Litecoin box-", "private_key" => "-your private key for Litecoin box-") 58 | // etc. 59 | ); 60 | 61 | /********************************/ 62 | 63 | 64 | // Re-test - that all keys for $available_payments added in $all_keys 65 | if (!in_array($def_payment, $available_payments)) $available_payments[] = $def_payment; 66 | foreach($available_payments as $v) 67 | { 68 | if (!isset($all_keys[$v]["public_key"]) || !isset($all_keys[$v]["private_key"])) die("Please add your public/private keys for '$v' in \$all_keys variable"); 69 | elseif (!strpos($all_keys[$v]["public_key"], "PUB")) die("Invalid public key for '$v' in \$all_keys variable"); 70 | elseif (!strpos($all_keys[$v]["private_key"], "PRV")) die("Invalid private key for '$v' in \$all_keys variable"); 71 | elseif (strpos(CRYPTOBOX_PRIVATE_KEYS, $all_keys[$v]["private_key"]) === false) die("Please add your private key for '$v' in variable \$cryptobox_private_keys, file cryptobox.config.php."); 72 | } 73 | 74 | 75 | // Current selected coin by user 76 | $coinName = cryptobox_selcoin($available_payments, $def_payment); 77 | 78 | 79 | // Current Coin public/private keys 80 | $public_key = $all_keys[$coinName]["public_key"]; 81 | $private_key = $all_keys[$coinName]["private_key"]; 82 | 83 | 84 | 85 | /** PAYMENT BOX **/ 86 | $options = array( 87 | "public_key" => $public_key, // your public key from gourl.io 88 | "private_key" => $private_key, // your private key from gourl.io 89 | "webdev_key" => "", // optional, gourl affiliate key 90 | "orderID" => $orderID, // order id 91 | "userID" => $userID, // unique identifier for every user 92 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 93 | "amount" => 0, // price in coins OR in USD below 94 | "amountUSD" => $amountUSD, // we use price in USD 95 | "period" => $period, // payment valid period 96 | "language" => $def_language // text on EN - english, FR - french, etc 97 | ); 98 | 99 | // Initialise Payment Class 100 | $box = new Cryptobox ($options); 101 | 102 | // coin name 103 | $coinName = $box->coin_name(); 104 | 105 | 106 | 107 | // Optional - Language selection list for payment box (html code) 108 | $languages_list = display_language_box($def_language); 109 | 110 | 111 | 112 | // Optional - Coin selection list (html code) 113 | if (!$box->is_paid()) $coins_list = display_currency_box($available_payments, $def_payment, $def_language, 60, "margin: 80px 0 0 0", "images"); 114 | 115 | 116 | 117 | 118 | 119 | 120 | // ... 121 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 122 | // for send confirmation email, update database, update user membership, etc. 123 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 124 | // ... 125 | 126 | 127 | 128 | ?> 129 | 130 | 132 | 133 | Pay-Per-View / Page Access Cryptocoin (payments in multiple cryptocurrencies) Payment Example 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 |
    142 |
    143 | 10. GoUrl Pay-Per-View/Page Example (multiple cryptocurrencies). Use it on your website. 144 | 145 |
    146 |
    147 |

    Example - Pay Per View - Video/Page Access for Unregistered Visitors (multi coins below)

    148 |

    Your Website Visitors have to pay for access to your premium video/webpage(s)

    149 |
    150 | Price: ~ US$ for access 151 |

    152 | 153 | is_paid()): ?> 154 | 155 | 156 | 157 | 158 | 159 |

    Cryptocoin Payment received
    Successful Access to Premium Page (during )

    160 | Pay Per View Access 161 | 162 | 163 | 164 | 165 | 166 | Awaiting Payment - Pay Per View 167 |



    168 | 169 |
    Language:  
    170 | display_cryptobox(true, 540, 230, "padding:3px 6px;margin:10px"); ?> 171 | 172 | 173 | 174 | 175 |






    176 | 177 | 178 | -------------------------------------------------------------------------------- /Examples/pay-per-membership-multi.php: -------------------------------------------------------------------------------- 1 | array("public_key" => "-your public key for Bitcoin box-", "private_key" => "-your private key for Bitcoin box-"), 54 | "bitcoincash" => array("public_key" => "-your public key for BitcoinCash box-", "private_key" => "-your private key for BitcoinCash box-"), 55 | "litecoin" => array("public_key" => "-your public key for Litecoin box-", "private_key" => "-your private key for Litecoin box-") 56 | // etc. 57 | ); 58 | 59 | /********************************/ 60 | 61 | 62 | // Re-test - that all keys for $available_payments added in $all_keys 63 | if (!in_array($def_payment, $available_payments)) $available_payments[] = $def_payment; 64 | foreach($available_payments as $v) 65 | { 66 | if (!isset($all_keys[$v]["public_key"]) || !isset($all_keys[$v]["private_key"])) die("Please add your public/private keys for '$v' in \$all_keys variable"); 67 | elseif (!strpos($all_keys[$v]["public_key"], "PUB")) die("Invalid public key for '$v' in \$all_keys variable"); 68 | elseif (!strpos($all_keys[$v]["private_key"], "PRV")) die("Invalid private key for '$v' in \$all_keys variable"); 69 | elseif (strpos(CRYPTOBOX_PRIVATE_KEYS, $all_keys[$v]["private_key"]) === false) die("Please add your private key for '$v' in variable \$cryptobox_private_keys, file cryptobox.config.php."); 70 | } 71 | 72 | 73 | 74 | // Current selected coin by user 75 | $coinName = cryptobox_selcoin($available_payments, $def_payment); 76 | 77 | 78 | // Current Coin public/private keys 79 | $public_key = $all_keys[$coinName]["public_key"]; 80 | $private_key = $all_keys[$coinName]["private_key"]; 81 | 82 | 83 | 84 | /** PAYMENT BOX **/ 85 | $options = array( 86 | "public_key" => $public_key, // your public key from gourl.io 87 | "private_key" => $private_key, // your private key from gourl.io 88 | "webdev_key" => "", // optional, gourl affiliate key 89 | "orderID" => $orderID, // order id 90 | "userID" => $userID, // unique identifier for every user 91 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 92 | "amount" => 0, // price in coins OR in USD below 93 | "amountUSD" => $amountUSD, // we use price in USD 94 | "period" => $period, // payment valid period 95 | "language" => $def_language // text on EN - english, FR - french, etc 96 | ); 97 | 98 | // Initialise Payment Class 99 | $box = new Cryptobox ($options); 100 | 101 | // coin name 102 | $coinName = $box->coin_name(); 103 | 104 | 105 | 106 | // Optional - Language selection list for payment box (html code) 107 | $languages_list = display_language_box($def_language); 108 | 109 | 110 | 111 | // Successful Cryptocoin Payment received 112 | if ($box->is_paid()) 113 | { 114 | // one time action 115 | if (!$box->is_processed()) 116 | { 117 | // One time action after payment has been made 118 | 119 | $message = "Thank you (order #".$orderID.", payment #".$box->payment_id()."). We upgraded your membership to Premium"; 120 | 121 | // Set Payment Status to Processed 122 | $box->set_status_processed(); 123 | } 124 | else $message = "You have a Premium Membership"; 125 | } 126 | else 127 | { 128 | // Optional - Coin selection list (html code) 129 | $coins_list = display_currency_box($available_payments, $def_payment, $def_language, 60, "margin: 80px 0 0 0", "images"); 130 | } 131 | 132 | 133 | 134 | 135 | 136 | // ... 137 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 138 | // for send confirmation email, update database, update user membership, etc. 139 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 140 | // ... 141 | 142 | 143 | 144 | ?> 145 | 146 | 148 | 149 | Pay-Per-Membership Cryptocoin (payments in multiple cryptocurrencies) Payment Example 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 |
    158 |
    159 | 12. GoUrl Pay-Per-Membership Example (multiple cryptocurrencies). Use it on your website. 160 | 161 |
    162 |
    163 |

    Example - Upgrading to a Premium Account (multi coins below)

    164 | 165 | is_paid()): ?> 166 | 167 | 168 | 169 | 170 | 171 |


    172 | 173 |


    174 | 175 | 176 | 177 | 178 | 179 | Awaiting Payment - Cryptocoin Pay Per Membership 180 |


    181 |

    Upgrade Your Membership Now ( $ per ) -

    182 | 183 | 184 | 185 |

    186 | is_paid()) echo $coins_list; ?> 187 |
    Language:  
    188 | display_cryptobox(true, 540, 230, "padding:3px 6px;margin:10px;border:10px solid #f7f5f2;"); ?> 189 | 190 | 191 |






    192 | 193 | 194 | -------------------------------------------------------------------------------- /Examples/pay-per-download-multi.php: -------------------------------------------------------------------------------- 1 | array("public_key" => "-your public key for Bitcoin box-", "private_key" => "-your private key for Bitcoin box-"), 61 | "bitcoincash" => array("public_key" => "-your public key for BitcoinCash box-", "private_key" => "-your private key for BitcoinCash box-"), 62 | "litecoin" => array("public_key" => "-your public key for Litecoin box-", "private_key" => "-your private key for Litecoin box-") 63 | // etc. 64 | ); 65 | 66 | /********************************/ 67 | 68 | 69 | // Re-test - that all keys for $available_payments added in $all_keys 70 | if (!in_array($def_payment, $available_payments)) $available_payments[] = $def_payment; 71 | foreach($available_payments as $v) 72 | { 73 | if (!isset($all_keys[$v]["public_key"]) || !isset($all_keys[$v]["private_key"])) die("Please add your public/private keys for '$v' in \$all_keys variable"); 74 | elseif (!strpos($all_keys[$v]["public_key"], "PUB")) die("Invalid public key for '$v' in \$all_keys variable"); 75 | elseif (!strpos($all_keys[$v]["private_key"], "PRV")) die("Invalid private key for '$v' in \$all_keys variable"); 76 | elseif (strpos(CRYPTOBOX_PRIVATE_KEYS, $all_keys[$v]["private_key"]) === false) die("Please add your private key for '$v' in variable \$cryptobox_private_keys, file cryptobox.config.php."); 77 | } 78 | 79 | 80 | // Current selected coin by user 81 | $coinName = cryptobox_selcoin($available_payments, $def_payment); 82 | 83 | 84 | // Current Coin public/private keys 85 | $public_key = $all_keys[$coinName]["public_key"]; 86 | $private_key = $all_keys[$coinName]["private_key"]; 87 | 88 | 89 | 90 | /** PAYMENT BOX **/ 91 | $options = array( 92 | "public_key" => $public_key, // your public key from gourl.io 93 | "private_key" => $private_key, // your private key from gourl.io 94 | "webdev_key" => "", // optional, gourl affiliate key 95 | "orderID" => $orderID, // file name hash as order id 96 | "userID" => $userID, // unique identifier for every user 97 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 98 | "amount" => 0, // file price in coins OR in USD below 99 | "amountUSD" => $amountUSD, // we use file price in USD 100 | "period" => $period, // download link valid period 101 | "language" => $def_language // text on EN - english, FR - french, etc 102 | ); 103 | 104 | // Initialise Payment Class 105 | $box = new Cryptobox ($options); 106 | 107 | // coin name 108 | $coinName = $box->coin_name(); 109 | 110 | // Generate Download Link 111 | $download_link = "//$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" . 112 | (strpos($_SERVER["REQUEST_URI"], "?")?"&":"?")."dd=1"; 113 | $download_link = "href='".htmlspecialchars($download_link, ENT_QUOTES, 'UTF-8')."'"; 114 | 115 | // Warning message if not paid 116 | if (!$box->is_paid()) 117 | $download_link = "onclick='alert(\"You need to send ".$coinName."s first !\")' href='#a'"; 118 | 119 | // Check if file exists on your server 120 | $file = rtrim($dir, "/ ")."/".$filename; 121 | if (!file_exists($file)) 122 | echo "

    Warning: $file not exists

    "; 123 | 124 | 125 | // User Paid - Send file to user browser 126 | if ($box->is_paid() && isset($_GET["dd"]) && $_GET["dd"] == "1") 127 | { 128 | // Starting Download 129 | $size = filesize($file); 130 | header('Content-Description: File Transfer'); 131 | header('Content-Type: application/octet-stream'); 132 | header('Content-Disposition: attachment; filename='.basename($file)); 133 | header('Expires: 0'); 134 | header('Cache-Control: must-revalidate'); 135 | header('Pragma: public'); 136 | header('Content-Length: ' . $size); 137 | readfile($file); 138 | 139 | // Set Status - User Downloaded File 140 | if ($size) $box->set_status_processed(); 141 | 142 | die; 143 | } 144 | 145 | 146 | 147 | // Optional - Language selection list for payment box (html code) 148 | $languages_list = display_language_box($def_language); 149 | 150 | 151 | 152 | // Optional - Coin selection list (html code) 153 | $coins_list = display_currency_box($available_payments, $def_payment, $def_language, 60, "margin: 80px 0 0 0", "../images"); 154 | 155 | 156 | 157 | 158 | // ... 159 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 160 | // for send confirmation email, update database, update user membership, etc. 161 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 162 | // ... 163 | 164 | 165 | 166 | 167 | ?> 168 | 169 | 171 | 172 | Pay-Per-Download Cryptocoin (payments in multiple cryptocurrencies) Payment Example 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 |
    181 |
    182 | 4. GoUrl Pay-Per-Download Example (multiple cryptocurrencies). Use it on your website. 183 | 184 |
    185 | 186 |

    Example - Paid File Downloads (multi coins below)

    187 | 188 |

    File:

    189 | 190 | Price: ~ US$
    191 | 192 | >Download File
    193 | >Download File 194 | 195 | is_paid()) echo $coins_list; else echo "



    " ?> 196 | 197 |
    Language:  
    198 | display_cryptobox(); ?> 199 | 200 | 201 |






    202 | 203 | 204 | -------------------------------------------------------------------------------- /Examples/pay-per-product-multi.php: -------------------------------------------------------------------------------- 1 | array("public_key" => "-your public key for Bitcoin box-", "private_key" => "-your private key for Bitcoin box-"), 60 | "bitcoincash" => array("public_key" => "-your public key for BitcoinCash box-", "private_key" => "-your private key for BitcoinCash box-"), 61 | "litecoin" => array("public_key" => "-your public key for Litecoin box-", "private_key" => "-your private key for Litecoin box-") 62 | // etc. 63 | ); 64 | 65 | /********************************/ 66 | 67 | 68 | // Re-test - that all keys for $available_payments added in $all_keys 69 | if (!in_array($def_payment, $available_payments)) $available_payments[] = $def_payment; 70 | foreach($available_payments as $v) 71 | { 72 | if (!isset($all_keys[$v]["public_key"]) || !isset($all_keys[$v]["private_key"])) die("Please add your public/private keys for '$v' in \$all_keys variable"); 73 | elseif (!strpos($all_keys[$v]["public_key"], "PUB")) die("Invalid public key for '$v' in \$all_keys variable"); 74 | elseif (!strpos($all_keys[$v]["private_key"], "PRV")) die("Invalid private key for '$v' in \$all_keys variable"); 75 | elseif (strpos(CRYPTOBOX_PRIVATE_KEYS, $all_keys[$v]["private_key"]) === false) die("Please add your private key for '$v' in variable \$cryptobox_private_keys, file cryptobox.config.php."); 76 | } 77 | 78 | 79 | 80 | // Current selected coin by user 81 | $coinName = cryptobox_selcoin($available_payments, $def_payment); 82 | 83 | 84 | 85 | // Current Coin public/private keys 86 | $public_key = $all_keys[$coinName]["public_key"]; 87 | $private_key = $all_keys[$coinName]["private_key"]; 88 | 89 | 90 | 91 | 92 | /** PAYMENT BOX **/ 93 | $options = array( 94 | "public_key" => $public_key, // your public key from gourl.io 95 | "private_key" => $private_key, // your private key from gourl.io 96 | "webdev_key" => "", // optional, gourl affiliate key 97 | "orderID" => $orderID, // order id or product name 98 | "userID" => $userID, // unique identifier for every user 99 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 100 | "amount" => 0, // product price in coins OR in USD below 101 | "amountUSD" => $amountUSD, // we use product price in USD 102 | "period" => $period, // payment valid period 103 | "language" => $def_language // text on EN - english, FR - french, etc 104 | ); 105 | 106 | // Initialise Payment Class 107 | $box = new Cryptobox ($options); 108 | 109 | // coin name 110 | $coinName = $box->coin_name(); 111 | 112 | // Successful Cryptocoin Payment received 113 | if ($box->is_paid()) 114 | { 115 | if (!$box->is_confirmed()) { 116 | $message = "Thank you for order (order #".$orderID.", payment #".$box->payment_id()."). Awaiting transaction/payment confirmation"; 117 | } 118 | else 119 | { // payment confirmed (6+ confirmations) 120 | 121 | // one time action 122 | if (!$box->is_processed()) 123 | { 124 | // One time action after payment has been made/confirmed 125 | // !!For update db records, please use function cryptobox_new_payment()!! 126 | 127 | $message = "Thank you for order (order #".$orderID.", payment #".$box->payment_id()."). Payment Confirmed.
    (User will see this message one time after payment has been made)"; 128 | 129 | // Set Payment Status to Processed 130 | $box->set_status_processed(); 131 | } 132 | else $message = "Thank you for order (order #".$orderID.", payment #".$box->payment_id()."). Payment Confirmed.
    (User will see this message during ".$period." period after payment has been made)"; // General message 133 | } 134 | } 135 | else $message = "This invoice has not been paid yet"; 136 | 137 | 138 | 139 | 140 | // Optional - Language selection list for payment box (html code) 141 | $languages_list = display_language_box($def_language); 142 | 143 | 144 | 145 | // Optional - Coin selection list (html code) 146 | if (!$box->is_paid()) $coins_list = display_currency_box($available_payments, $def_payment, $def_language, 60, "margin: 80px 0 0 0", "images"); 147 | 148 | 149 | 150 | 151 | 152 | 153 | // ... 154 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 155 | // for send confirmation email, update database, update user membership, etc. 156 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 157 | // ... 158 | 159 | 160 | 161 | ?> 162 | 163 | 165 | 166 | Pay-Per-Product Cryptocoin (payments in multiple cryptocurrencies) Payment Example 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 |
    175 |
    176 | 2. GoUrl Pay-Per-Product Example (multiple cryptocurrencies). Use it on your website. 177 | 178 |
    179 | 180 |

    Example - Customer Invoice (multi coins below)

    181 |
    182 | status 183 | Invoice 184 |

    185 | is_paid()) echo $coins_list . "

    Pay Invoice Now -

    "; ?> 186 |

    187 |
    Language:  
    188 | display_cryptobox(true, 580, 230, "border-radius:15px;border:1px solid #eee;padding:3px 6px;margin:10px;", "display:inline-block;max-width:580px;padding:15px 20px;border:1px solid #eee;margin:7px;line-height:25px;"); ?> 189 |


    190 |

    Message :

    191 |

    192 | 193 | 194 |






    195 | 196 | 197 | -------------------------------------------------------------------------------- /Examples/pay-per-post-multi.php: -------------------------------------------------------------------------------- 1 | array("public_key" => "-your public key for Bitcoin box-", "private_key" => "-your private key for Bitcoin box-"), 54 | "bitcoincash" => array("public_key" => "-your public key for BitcoinCash box-", "private_key" => "-your private key for BitcoinCash box-"), 55 | "litecoin" => array("public_key" => "-your public key for Litecoin box-", "private_key" => "-your private key for Litecoin box-") 56 | // etc. 57 | ); 58 | 59 | /********************************/ 60 | 61 | 62 | // Re-test - that all keys for $available_payments added in $all_keys 63 | if (!in_array($def_payment, $available_payments)) $available_payments[] = $def_payment; 64 | foreach($available_payments as $v) 65 | { 66 | if (!isset($all_keys[$v]["public_key"]) || !isset($all_keys[$v]["private_key"])) die("Please add your public/private keys for '$v' in \$all_keys variable"); 67 | elseif (!strpos($all_keys[$v]["public_key"], "PUB")) die("Invalid public key for '$v' in \$all_keys variable"); 68 | elseif (!strpos($all_keys[$v]["private_key"], "PRV")) die("Invalid private key for '$v' in \$all_keys variable"); 69 | elseif (strpos(CRYPTOBOX_PRIVATE_KEYS, $all_keys[$v]["private_key"]) === false) die("Please add your private key for '$v' in variable \$cryptobox_private_keys, file cryptobox.config.php."); 70 | } 71 | 72 | 73 | 74 | 75 | // Current selected coin by user 76 | $coinName = cryptobox_selcoin($available_payments, $def_payment); 77 | 78 | 79 | 80 | // Current Coin public/private keys 81 | $public_key = $all_keys[$coinName]["public_key"]; 82 | $private_key = $all_keys[$coinName]["private_key"]; 83 | 84 | 85 | 86 | /** PAYMENT BOX **/ 87 | $options = array( 88 | "public_key" => $public_key, // your public key from gourl.io 89 | "private_key" => $private_key, // your private key from gourl.io 90 | "webdev_key" => "", // optional, gourl affiliate key 91 | "orderID" => $orderID, // order id 92 | "userID" => $userID, // unique identifier for every user 93 | "userFormat" => $userFormat, // save userID in COOKIE, IPADDRESS or SESSION 94 | "amount" => 0, // post price in coins OR in USD below 95 | "amountUSD" => $amountUSD, // we use post price in USD 96 | "period" => $period, // payment valid period 97 | "language" => $def_language // text on EN - english, FR - french, etc 98 | ); 99 | 100 | // Initialise Payment Class 101 | $box = new Cryptobox ($options); 102 | 103 | // coin name 104 | $coinName = $box->coin_name(); 105 | 106 | 107 | 108 | // Optional - Language selection list for payment box (html code) 109 | $languages_list = display_language_box($def_language); 110 | 111 | 112 | 113 | // Optional - Coin selection list (html code) 114 | $coins_list = display_currency_box($available_payments, $def_payment, $def_language, 60, "margin: 80px 0 0 0", "images"); 115 | 116 | 117 | 118 | 119 | // Form Data 120 | // -------------------------- 121 | $ftitle = (isset($_POST["ftitle"])) ? $_POST["ftitle"] : ""; 122 | $ftext = (isset($_POST["ftext"])) ? $_POST["ftext"] : ""; 123 | 124 | $error = ""; 125 | $successful = false; 126 | 127 | if (isset($_POST) && isset($_POST["ftitle"])) 128 | { 129 | if (!$ftitle) $error .= "
  • Please enter Title
  • "; 130 | if (!$ftext) $error .= "
  • Please enter Text
  • "; 131 | if (!$box->is_paid()) $error .= "
  • ".$coinName."s have not yet been received
  • "; 132 | if ($error) $error = "
      $error
    "; 133 | 134 | if ($box->is_paid() && !$error) 135 | { 136 | // Successful Cryptocoin Payment received 137 | // Your code here - 138 | // ... 139 | // ... 140 | 141 | // Set Payment Status to Processed 142 | $successful = true; 143 | $box->set_status_processed(); 144 | 145 | // Optional, cryptobox_reset() will delete cookies/sessions with userID and 146 | // new cryptobox with new payment amount will be show after page reload. 147 | // Cryptobox will recognize user as a new one with new generated userID 148 | // If you manual setup userID, you need to change orderID also 149 | $box->cryptobox_reset(); 150 | } 151 | } 152 | // -------------------------- 153 | 154 | 155 | 156 | 157 | 158 | 159 | // ... 160 | // Also you need to use IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "") 161 | // for send confirmation email, update database, update user membership, etc. 162 | // You need to modify file - cryptobox.newpayment.php, read more - https://gourl.io/api-php.html#ipn 163 | // ... 164 | 165 | 166 | 167 | 168 | ?> 169 | 170 | 172 | 173 | Pay-Per-Post Cryptocoin (payments in multiple cryptocurrencies) Payment Example 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 |
    182 |
    183 | 6. GoUrl Pay-Per-Post Example (multiple cryptocurrencies). Use it on your website. 184 | 185 |
    186 |

    Example - Paid Posts (multi coins below)

    187 | You can sell right to publish new posts on your website 188 |


    189 | Invoice 190 | 191 | 192 | 193 | 194 | 195 |
    196 | New Post 197 |
    Your text has been successfully posted on our website!
    198 | Publish new posts » 199 |
    200 | 201 | 202 | 203 |
    204 | 205 | 206 | 207 | 208 | is_paid()): ?> 209 | 210 | 211 |
    New Post
    Title:
    Text:
    * You need to pay s (~ US$) for posting your text on our website
    212 |
    213 | 214 |
    215 |
    Language:  
    216 | is_paid()) echo "
    ".$coins_list."
    "; ?> 217 | display_cryptobox(); ?> 218 |
    219 | 220 |


    221 | 222 | 223 | 224 | 225 | 226 |






    227 | 228 | 229 | --------------------------------------------------------------------------------