Hello all,
I want to integrate CIM(Customer Information Management) with authorize.net accept sdk in iOS to store customer credit card details for future use.
Is there any solution to integrate CIM in ios?
Solved! Go to Solution.
11-29-2017 03:48 AM
Absolutely. Use the Accept iOS SDK (https://github.com/AuthorizeNet/accept-sdk-ios ) to send the card details directly to us (no card details on your server) and get an accept token back. Once you have that post it up to your server with the rest of the customer data and then use our API to create a customer payment profile (https://developer.authorize.net/api/reference/#customer-profiles-create-customer-profile ) with your accept token:
{
"createCustomerProfileRequest": {
"merchantAuthentication": {
"name": "",
"transactionKey": ""
},
"profile": {
"merchantCustomerId": "Merchant_Customer_ID",
"description": "Profile description here",
"email": "customer-profile-email@here.com",
"paymentProfiles": {
"customerType": "individual",
"payment": {
"opaqueData": {
"dataDescriptor": "COMMON.ACCEPT.INAPP.PAYMENT",
"dataValue": "1234567890ABCDEF1111AAAA2222BBBB3333CCCC4444DDDD5555EEEE6666FFFF7777888899990000"
}
}
}
},
"validationMode": "testMode"
}
}
11-30-2017 06:56 AM
Absolutely. Use the Accept iOS SDK (https://github.com/AuthorizeNet/accept-sdk-ios ) to send the card details directly to us (no card details on your server) and get an accept token back. Once you have that post it up to your server with the rest of the customer data and then use our API to create a customer payment profile (https://developer.authorize.net/api/reference/#customer-profiles-create-customer-profile ) with your accept token:
{
"createCustomerProfileRequest": {
"merchantAuthentication": {
"name": "",
"transactionKey": ""
},
"profile": {
"merchantCustomerId": "Merchant_Customer_ID",
"description": "Profile description here",
"email": "customer-profile-email@here.com",
"paymentProfiles": {
"customerType": "individual",
"payment": {
"opaqueData": {
"dataDescriptor": "COMMON.ACCEPT.INAPP.PAYMENT",
"dataValue": "1234567890ABCDEF1111AAAA2222BBBB3333CCCC4444DDDD5555EEEE6666FFFF7777888899990000"
}
}
}
},
"validationMode": "testMode"
}
}
11-30-2017 06:56 AM