From 66ab44df10ba5c55d35fdf58f2be55340ed11235 Mon Sep 17 00:00:00 2001 From: "Gourl.io" Date: Wed, 5 Apr 2017 13:24:22 +0100 Subject: [PATCH] update --- GoUrl/GoUrlCore/NewPayment.cs | 2 +- readme.md | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/GoUrl/GoUrlCore/NewPayment.cs b/GoUrl/GoUrlCore/NewPayment.cs index a5225d5..c545f3f 100644 --- a/GoUrl/GoUrlCore/NewPayment.cs +++ b/GoUrl/GoUrlCore/NewPayment.cs @@ -10,7 +10,7 @@ //* ### PLEASE MODIFY THIS FILE //* ### -//* ### Add dditional actions after a payment has been received - +//* ### Add additional actions after a payment has been received - //* ### update database records, send email to user, etc //* ########################################## diff --git a/readme.md b/readme.md index dd56281..df5b5c5 100644 --- a/readme.md +++ b/readme.md @@ -30,16 +30,16 @@ Demo: [https://gourl.io/bitcoin-payment-gateway-api.html](https://gourl.io/bitco Instruction - ASP .NET Bitcoin/Altcoin Plugin ---------------------------------------------- -* Install plugin from nuget.org - https://www.nuget.org/packages/GoUrl.io/ (command "Install-Package GoUrl.io", it is plugin only without examples) +* 1. Install plugin from nuget.org - https://www.nuget.org/packages/GoUrl.io/ (command "Install-Package GoUrl.io", it is plugin only without examples) * or download full plugin with Examples from github / [gourl.io](https://coins.gourl.io/lib/gourl_asp.rar) directly -* Plugin can use database for storing bitcoin/altcoin payment information (transaction ID, payment Date, user ID, order ID, etc) on your website. If you wish to use it you will need to create a new MSSQL table (crypto_payments) and configure 'connectionStrings' in /GoUrl/Web.config. Plugin Database store in /App_Data folder. -* [Free Register](https://gourl.io/view/registration/New_User_Registration.html) or [Login](https://gourl.io/info/memberarea/My_Account.html) on the gourl.io, [create new payment box/es](https://gourl.io/editrecord/coin_boxes/0) and get free GoUrl Private/Public Keys ([screenshot](https://gourl.io/images/paymentbox1.png)) -* Place all your [GoUrl Private Keys](https://gourl.io/images/paymentbox1.png) in /GoUrl/Web.config ([screenshot](https://gourl.io/images/instruction-asp-config1.png)) -* Add in your _Layout line - <script type="text/javascript" src="~/scripts/cryptobox.js"></script>. See example - /GoUrl/Views/Shared/_Layout.cshtml -* Create payment controller with your public/private keys, orderID, userID, etc. See example controller - /GoUrl/Controllers/GoUrl/ExamplesController.cs ([screenshot](https://gourl.io/images/instruction-asp-config2.png)) -* Edit file /GoUrlCore/NewPayment.cs to add additional actions after a payment has been received (update database records, send email to user, etc). -* You will need to place Callback URL in bitcoin/altcoin payment box ([screenshot](https://gourl.io/images/paymentbox6.png)), please use: http://yoursite.com/GoUrl/Callback -* Run examples from /GoUrl/Views/Examples/ +* 2. Plugin can use database for storing bitcoin/altcoin payment information (transaction ID, payment Date, user ID, order ID, etc) on your website. If you wish to use it you will need to create a new MSSQL table ([crypto_payments](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET#mssql-table-for-plugin)) and configure 'connectionStrings' in [/GoUrl/Web.config](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/blob/master/GoUrl/Web.config#L53). Plugin Database store in [/GoUrl/App_Data](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/tree/master/GoUrl/App_Data) folder. HTML Page with [Payment Table Example](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/blob/master/GoUrl/Views/Examples/Payments.cshtml) +* 3. [Free Register](https://gourl.io/view/registration/New_User_Registration.html) or [Login](https://gourl.io/info/memberarea/My_Account.html) on the gourl.io, [create new payment box/es](https://gourl.io/editrecord/coin_boxes/0) and get free GoUrl Private/Public Keys ([screenshot](https://gourl.io/images/paymentbox1.png)) +* 4. Place all your [GoUrl Private Keys](https://gourl.io/images/paymentbox1.png) in [/GoUrl/Web.config](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/blob/master/GoUrl/Web.config#L15) ([screenshot](https://gourl.io/images/instruction-asp-config1.png)) +* 5. Add in your _Layout line - <script type="text/javascript" src="~/scripts/cryptobox.js"></script>. See example - [/GoUrl/Views/Shared/_Layout.cshtml](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/blob/master/GoUrl/Views/Shared/_Layout.cshtml#L8) +* 6. Create payment controller with your public/private keys, orderID, userID, etc. See example controller - [/GoUrl/Controllers/GoUrl/ExamplesController.cs](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/blob/master/GoUrl/Controllers/GoUrl/ExamplesController.cs#L22) ([screenshot](https://gourl.io/images/instruction-asp-config2.png)) +* 7. Edit file [/GoUrl/GoUrlCore/NewPayment.cs](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/blob/master/GoUrl/GoUrlCore/NewPayment.cs#L9) to add additional actions after a payment has been received (update database records, send email to user, etc). +* 8. You will need to place Callback URL in bitcoin/altcoin payment box ([screenshot](https://gourl.io/images/paymentbox6.png)), please use: http://yoursite.com/GoUrl/Callback +* 9. Run examples from [/GoUrl/Views/Examples/](https://github.com/cryptoapi/Bitcoin-Payment-Gateway-ASP.NET/tree/master/GoUrl/Views/Examples) THAT'S IT! CRYPTOCOIN PAYMENT BOX/CAPTCHA SHOULD NOW BE WORKING ON YOUR SITE. @@ -183,5 +183,5 @@ PHP Examples / Live Demo : * **Pay-Per-Registration**: Example7 - [multiple crypto](http://gourl.io/lib/examples/pay-per-registration-multi.php), Example8 - [bitcoin](http://gourl.io/lib/examples/pay-per-registration.php) * **Pay-Per-Page-Access**: Example19 - [multiple crypto](http://gourl.io/lib/examples/pay-per-page-multi.php), Example10 - [bitcoin](http://gourl.io/lib/examples/pay-per-page.php) * **Pay-Per-Membership**: Example11 - [multiple crypto](http://gourl.io/lib/examples/pay-per-membership-multi.php), Example12 - [bitcoin](http://gourl.io/lib/examples/pay-per-membership.php) - + \ No newline at end of file