Related Articles
Code Example Microsoft .NET
Microsoft .NET Edit main.cs PaymentTransaction paymentTransaction = new PaymentTransaction("https://test.api.payfacto.com/v1", "00000000000000000000000000000000000"); String purchaseInput = FillPurchaseInput(); transactionOutput = ...
Code Example - Java
JAVA Edit main.java CTPaymentClient restv1Client = new CTPaymentClient("https://test.api.payfacto.com/", "00000000000000000000000000000000000" ); // PURCHASE EXAMPLE HashMap<String, String> params = new HashMap<String, String>(); ...
Code Example : HTML - JavaScript
form.html <html> <body> <script type="text/javascript"> function encodeString(str) { document.PURCHASE.payload.value = btoa(str); } </script> <form name="PURCHASE" action="https://test.api.payfacto.com/v1/purchase" method="POST"> auth-api-key<input ...
Example Calls to the Secure Payment Application
This page lists code examples for the various Secure Payment transactions Purchase JavaScript Intent intent = new Intent("com.payfacto.terminal.payment.PAYMENT_ACTIVITY"); intent.putExtra("TRANSACTION", "SALE"); intent.putExtra("AMOUNT", "100"); // ...
Credit Card Verification Code (CVV)
Introduction This code is not found on the magnetic stripe, making it impossible for the defrauder to copy the magnetic stripe or to learn the card’s verification code. This code is not embossed on the credit card either (characters engraved in the ...