This file contains 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
public static void TestTransaction() | |
{ | |
IRapidClient ewayClient = RapidClientFactory.NewRapidClient(ApiKey, ApiPassword, RapidEndpoint); | |
// STEP 1 | |
// Create the transaction with eWAY | |
Transaction transaction = new Transaction() | |
{ | |
Customer = new Customer() | |
{ |
This file contains 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
public static void TestInvoiceDescription() | |
{ | |
// Register a user | |
string token = TestRegisterInvoiceDescription(); | |
TestRecurringPaymentInvoiceDescription(token); | |
} | |
public static string TestRegisterInvoiceDescription() | |
{ | |
IRapidClient ewayClient = RapidClientFactory.NewRapidClient(ApiKey, ApiPassword, RapidEndpoint); |
This file contains 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
<%@ Page Language="C#" %> | |
<%@ Import Namespace="eWAY.Rapid" %> | |
<%@ Import Namespace="eWAY.Rapid.Enums" %> | |
<%@ Import Namespace="eWAY.Rapid.Models" %> | |
<!DOCTYPE html> | |
<script runat="server"> | |
private static readonly string ApiKey = "mykey"; | |
private static readonly string ApiPassword = "mypassword"; |
This file contains 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
<%@ Page Language="C#" %> | |
<%@ Import Namespace="System.IO" %> | |
<%@ Import Namespace="eWAY.Rapid" %> | |
<%@ Import Namespace="eWAY.Rapid.Enums" %> | |
<%@ Import Namespace="eWAY.Rapid.Models" %> | |
<!DOCTYPE html> | |
<script runat="server"> | |
private static readonly string ApiKey = "myKey"; |
This file contains 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
#include <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
#define WIFI_SSID "MySSID" | |
#define WIFI_KEY "MyKey" | |
void setup() { | |
Serial.begin(115200); | |
delay(500); | |
Serial.println(); |