Card Sales and Consent
Learn to make credit card sales and collect consent with Number
Last updated
Was this helpful?
Learn to make credit card sales and collect consent with Number
Last updated
Was this helpful?
To make sales or collect consent when a card is present using Number, you have several options:
When you have a USB card reader connected to your machine, you can log into the Virtual Terminal to make card present sales and to collect consent.
We also have a custom desktop application which can be convenient in an office setting to collect card present payments. It offers similar functionality to the Virtual Terminal.
There are a few approaches to integration, You can either use the browser-based interface option or the Desktop integration with SDK .
For an in-depth tutorial on how to integrate and use your Verifone card reader with Number, see our Verifone integration guide.
Before you start, you'll need to download the Verifone Windows service to your machine, connect your card reader device to a free USB port, allow it to initialize, extract the archive with the service and run the EXE as an administrator. After the installation is complete, reboot the system.
You can issue commands to the service by calling https://localhost:8031
from your website.
Here's an simplified example of how you can invoke the service for a card present sale:
Here's an simplified example of how you can invoke the service to collect annual consent:
When you want to use your Verifone with the Virtual Terminal, you have to first install the very same Windows service that is used when doing a Verifone browser-based integration. After installation, contact the Number support team to get the card reader features activated.
To learn more about using the Virtual Terminal, see the Virtual Terminal user guide.
Read more about using our custom desktop application for sales in the Integration Options guide or contact Number to get access.
When you visit the Virtual Terminal, log in and expand Credit Cards in the navigation on the left. You'll see options for a sale, an EMV sale, authorization, forced auth, and adjustments.
As long as your USB card reader is connected to your machine, it will seamlessly integrate with the Virtual Terminal for card present transactions.
When you visit the Virtual Terminal, log in and expand Consents in the navigation on the left. You'll see options for annual consent, EMV annual consent, and one-time consent. You can also expand the Recurring tab to find options to create recurring consent, EMV recurring consent, and subscription consent.
As long as your USB card reader is connected to your machine, it will seamlessly integrate with the Virtual Terminal for card present transactions.
Our APIs are useful for any Integration as you can apply a credit, void, query, charge a stored card etc. For integrators who are PCI Level one compliant you may also pass cardholder data directly through the API. Most integrations will use our PayForms to collect Cardholder data while the API will be used for all remaining activity.
When you scan the credit card and collect the track data alongside the other payment details, if using the REST API, prepare the HMAC secured header like shown in Authentication quickstart guide, and encrypt the card number using our RSA certificate.
Follow the instructions in the API reference to prepare and handle the request.
You can use the following API operations:
You can use the following API operations:
To make credit card sales and collect consent using Number when you want to enter the card details manually, you have the following options:
The Virtual Terminal website allows you to handle manual card sales and consent collection by default. This approach requires no coding and is perfect for a physical point-of-sale.
We also have a custom desktop application which can be convenient way to collect manual card payments and consent. It offers much of the same functionality as the Virtual Terminal.
The PayForm is designed to be a highly flexible and secure payment form for your users. To start collecting payments and consent with the PayForm, you'll want to use our builder tool for configuration, then our REST API to generate a payment URL.
Learn more about how to configure and use the PayForm in the PayForm guide.
In the example below, the PayForm has been setup for an instant card payment.
The JSON will look like the following:
This JSON can be used to make a REST API request to generate the actual payment form.
You may re-use this JSON to generate the same type of form for multiple different users. You may also want to dynamically configure values like the amounts from your code.
If you include a valid session key, the PayForm will be accessible under the PaymentUrl
included in the response. You can embed it into your site or redirect the user to the page.
Once the user fills out and submits the form, we'll handle the payment.
To use the PayForm to save a card on file, follow the steps in PayForm manual card sale, change the transaction type to collecting cardholder data, and skip the amount field.
You may also collect an instant payment and consent at the same time by choosing the combo widget as your transaction type.
The Virtual Terminal is a web application that allows you to manually enter credit card details and process transactions through your browser.
To learn more about using the Virtual Terminal, see the Virtual Terminal user guide.
Read more about using our custom desktop application for sales in the Integration Options guide or contact Number to get access.
When you visit the Virtual Terminal, log in and expand Credit Cards in the navigation on the left. You'll see options for a sale, an EMV sale, authorization, forced auth, and adjustments. Follow the instructions and manually enter the cardholder details to make a sale.
Using the Virtual Terminal, you can create annual, one-time, recurring, and subscription consents. Log in and expand Consents and Recurring tabs on the left side of the screen. Choose the type of consent you're interested in and follow the instructions to manually enter the cardholder details and store a card on file.
If you are developing an Android or iOS application, you can utilize our SDKs to charge credit cards and collect consent manually by having users enter their own details.
We recommend following the Android SDK and iOS SDK guides to learn how to integrate Number with your mobile applications.
If you wish to have more control over the integration and you are PCI Level 1 compliant, you can try using our APIs. They provide methods for all payment types available using our other services, including manual card sales and collecting different types of consent.
After authenticating, when you collect cardholder data alongside the other payment details, if using the REST API, prepare the HMAC secured header like shown in Authentication quickstart guide, and encrypt the card number using our RSA certificate. Follow the instructions in the API reference to prepare and handle the request.
You can use the following API operations:
You can use the following API operations:
If you have your own PCI level one compliance program, you may write your own custom code calling our APIs to collect card present payments and consent. You can read more about PCI compliance in the short section of our Integration Options guide.
For the REST API, use
For the SOAP API, use
For the REST API, you can use and .
For the SOAP API, you can use , , and .
If you have your own PCI level one compliance program, you may write your own custom code calling our APIs to collect manual card payments and consent. You can read more about PCI compliance in the short section of our integration guide.
You can read about configuration specifics in the section of our full PayForm guide. For the purpose of this tutorial, you can follow the example below; we'll briefly explain each configuration step.
To generate a PayForm, make a request to .
If you want to handle the query string when redirecting back to your website to store the transaction ID in your database, read the section of our full PayForm guide.
The relevant methods are described in section of the Android SDK guide and section of the iOS SDK guide.
The relevant methods are described in section of the Android SDK guide and section of the iOS SDK guide.
For the REST API, use .
For the SOAP API, use .
For the REST API, use for annual consent and for recurring consent.
For the SOAP API, use for annual, for recurring, and for subscription consent.
Use the PayForm builder to build the request body, and to determine styling options.