This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Threading.Tasks; | |
| namespace SocketRequestor40 | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Runtime.InteropServices; | |
| using System.Threading; | |
| using System.Threading.Tasks; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Concurrent; | |
| using System.Collections.Generic; | |
| using System.Data; | |
| using System.Data.SqlClient; | |
| using System.IO; | |
| using System.Text; | |
| using System.Web; | |
| using Microsoft.WindowsAzure.ServiceRuntime; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private CreditCardTransaction ProcessCustomerPaymentProfileTransaction(OrderContext context, transactionTypeEnum transactionType) { | |
| //============================================ | |
| //New Transaction Method by Paul -- 02/28/2018 | |
| //============================================ | |
| var creditCardInformation = (CreditCardInformation) context.BillingInformation; | |
| //Create or update the AuthNet Customer Profile and Payment Profile | |
| EnsurePaymentProfile(context, creditCardInformation); | |
| //Authenticate with Authorize.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private TaskCompletionSource<Order> _purchaseSource; | |
| private IPublicKey _publicKey; | |
| //NOTE: get this key from the Google Play dev console, under Development Tools | Services & APIs | Licensing & in-app billing | |
| public string PublicKey { get; set; } | |
| //Order details class, parsed from JSON | |
| private sealed class Order | |
| { | |
| public string PackageName { get; set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rank | name | domain | |
|---|---|---|---|
| 1 | Exxon Mobil | exxonmobil.com | |
| 2 | Wal-Mart Stores | corporate.walmart.com | |
| 3 | Chevron | chevron.com | |
| 4 | ConocoPhillips | conocophillips.com | |
| 5 | General Electric | ge.com | |
| 6 | General Motors | gm.com | |
| 7 | Ford Motor | ford.com | |
| 8 | AT&T | att.com | |
| 9 | Hewlett-Packard | hp.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://www.corporate.walmart.com/ | |
| http://www.exxonmobil.com/ | |
| http://www.chevron.com/ | |
| http://www.berkshirehathaway.com/ | |
| http://www.apple.com/ | |
| http://www.phillips66.com/ | |
| http://www.gm.com/ | |
| http://www.ford.com/ | |
| http://www.ge.com/ | |
| http://www.valero.com/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| +-----------+-------------------+------------------------------+--------+-----------------+-----+-----------------------+-----------+----------+-----------+ | |
| | gatewayid | name | description | active | autobillcapable | cvv | credentials_gatewayid | preferred | sequence | group | | |
| +-----------+-------------------+------------------------------+--------+-----------------+-----+-----------------------+-----------+----------+-----------+ | |
| | 1 | landmark | Landmark | 0 | 1 | 1 | 1 | 0 | 11 | NULL | | |
| | 2 | verisign | PayPal Payflow Pro | 0 | 1 | 1 | 2 | 1 | 4 | paypal | | |
| | 3 | authorize | Authorize.Net | 1 | 1 | 1 | 3 | 0 | 1 | authorize | | |
| | 4 | paradata | Payment Processing Inc. | 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE IF NOT EXISTS `country` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `iso` char(2) NOT NULL, | |
| `name` varchar(80) NOT NULL, | |
| `nicename` varchar(80) NOT NULL, | |
| `iso3` char(3) DEFAULT NULL, | |
| `numcode` smallint(6) DEFAULT NULL, | |
| `phonecode` int(5) NOT NULL, | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE IF NOT EXISTS `country` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `iso` char(2) NOT NULL, | |
| `name` varchar(80) NOT NULL, | |
| `nicename` varchar(80) NOT NULL, | |
| `iso3` char(3) DEFAULT NULL, | |
| `numcode` smallint(6) DEFAULT NULL, | |
| `phonecode` int(5) NOT NULL, | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |