Template:Customer profiles

From 360Works Product Documentation Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "===Customer Profiles=== Plastic 2 features customer profiles, which allow you to submit customer and payment information to be reused for future transactions. This greatly si...")
 
Line 5: Line 5:
 
To create a customer in the system, set the following:
 
To create a customer in the system, set the following:
  
<pre>Set Variable[$customerID; Value:
+
Set Variable[$customerID; Value:
CCProfileCreateCustomer (
+
CCProfileCreateCustomer (
merchantAccountName;
+
{{{1|merchantAccountName}}};
txKey;
+
{{{2|txKey}}};
customerId)
+
customerId)
</pre>
+
  
 
After creating a customer, it can also be updated, deleted, or retrieved. Retrieving a customer will return the information the gateway has saved about the customer, with the sensitive information masked. Customer ID is a end user set value, and Customer Profile ID is the one dictated by the gateway.
 
After creating a customer, it can also be updated, deleted, or retrieved. Retrieving a customer will return the information the gateway has saved about the customer, with the sensitive information masked. Customer ID is a end user set value, and Customer Profile ID is the one dictated by the gateway.
Line 19: Line 18:
 
| <big>CCProfileGetCustomer</big>
 
| <big>CCProfileGetCustomer</big>
 
|-
 
|-
|merchantAccountName || merchantAccountName || merchantAccountName
+
|{{{1|merchantAccountName}}} || {{{1|merchantAccountName}}} || {{{1|merchantAccountName}}}
 
|-
 
|-
|txKey || txKey || txKey
+
|{{{2|txKey}}} || {{{2|txKey}}} || {{{2|txKey}}}
 
|-
 
|-
 
|customerId || customerProfileId || customerProfileId
 
|customerId || customerProfileId || customerProfileId

Revision as of 17:08, 29 August 2013

Customer Profiles

Plastic 2 features customer profiles, which allow you to submit customer and payment information to be reused for future transactions. This greatly simplifies PCI compliance, and keeps sensitive information out of your database. To get started, first you'll need to create a customer in the system. This will return an ID that you can then store. After that, attach a payment method to this newly created customer. This will return a payment ID, which together with the customer profile ID, you can run charges against.

To create a customer in the system, set the following:

Set Variable[$customerID; Value:
CCProfileCreateCustomer (
merchantAccountName;
txKey;
customerId)

After creating a customer, it can also be updated, deleted, or retrieved. Retrieving a customer will return the information the gateway has saved about the customer, with the sensitive information masked. Customer ID is a end user set value, and Customer Profile ID is the one dictated by the gateway.

CCProfileUpdateCustomer CCProfileDeleteCustomer CCProfileGetCustomer
merchantAccountName merchantAccountName merchantAccountName
txKey txKey txKey
customerId customerProfileId customerProfileId
customerProfileId
Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox