<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor... in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69272#M42332</link>
    <description>&lt;P&gt;This is the code I'm using which is essentially the sample account creation code, but supplying an opaqueDataType as the paymentType.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static CreateApplePayCustomerProfileResult Run(string ApiLoginID, string ApiTransactionKey, ApplePayPayment token, bool isLive)
{
    var result = new CreateApplePayCustomerProfileResult();
    result.DebugText += ("Create Apple Pay Profile Sample   ");
    result.DebugText += ("isLive == " + isLive + "  ");

    //comvert the "payment data token" back into JSON
    var tokenjson = Newtonsoft.Json.JsonConvert.SerializeObject(token.paymentData);

    //the base-64 encode it
    var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(tokenjson);
    var token64 = System.Convert.ToBase64String(plainTextBytes);

    // set whether to use the sandbox environment, or production enviornmentif (isLive)
    if(isLive)
    {
        ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.PRODUCTION;
    }
    else
    {
        ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;
    }

    // define the merchant information (authentication / transaction id)
    ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType()
    {
        name = ApiLoginID,
        ItemElementName = ItemChoiceType.transactionKey,
        Item = ApiTransactionKey
    };

    var applePay = new opaqueDataType {
        dataDescriptor = "COMMON.APPLE.INAPP.PAYMENT",
        dataValue = token64
    };

    paymentType ap = new paymentType { Item = applePay };
    List&amp;lt;customerPaymentProfileType&amp;gt; paymentProfileList = new List&amp;lt;customerPaymentProfileType&amp;gt;();
            
    customerPaymentProfileType apPaymentProfile = new customerPaymentProfileType();
    apPaymentProfile.payment = ap;
    paymentProfileList.Add(apPaymentProfile);

    List&amp;lt;customerAddressType&amp;gt; addressInfoList = new List&amp;lt;customerAddressType&amp;gt;();
    customerAddressType homeAddress = new customerAddressType();
    homeAddress.firstName = "Tester";
    homeAddress.lastName = "McTester";
    homeAddress.address = "10900 NE 8th St";
    homeAddress.city = "Seattle";
    homeAddress.zip = "98006";
            
    addressInfoList.Add(homeAddress);
            
    customerProfileType customerProfile = new customerProfileType();
    customerProfile.merchantCustomerId = "Test CustomerID";
    customerProfile.email = "Tester@McTester.nowhere.test.com";
    customerProfile.paymentProfiles = paymentProfileList.ToArray();
    customerProfile.shipToList = addressInfoList.ToArray();

    var request = new createCustomerProfileRequest { profile = customerProfile, validationMode = validationModeEnum.none };

    // instantiate the controller that will call the service
    var controller = new createCustomerProfileController(request);
    controller.Execute();

    // get the response from the service (errors contained if any)
    createCustomerProfileResponse response = controller.GetApiResponse();

    // validate response 
    if (response != null)
    {
        if (response.messages.resultCode == messageTypeEnum.Ok)
        {
            if (response.messages.message != null)
            {
                result.DebugText += ("Success!");
                result.DebugText += ("Customer Profile ID: " + response.customerProfileId);
                result.DebugText += ("Payment Profile ID: " + response.customerPaymentProfileIdList[0]);
                result.DebugText += ("Shipping Profile ID: " + response.customerShippingAddressIdList[0]);
            }
        }
        else
        {
            result.DebugText += ("Customer Profile Creation Failed.");
            result.DebugText += ("Error Code: " + response.messages.message[0].code);
            result.DebugText += ("Error message: " + response.messages.message[0].text);
        }
    }
    else
    {
        if (controller.GetErrorResponse().messages.message.Length &amp;gt; 0)
        {
            result.DebugText += ("Customer Profile Creation Failed.");
            result.DebugText += ("Error Code: " + response.messages.message[0].code);
            result.DebugText += ("Error message: " + response.messages.message[0].text);
        }
        else
        {
            result.DebugText += ("Null Response.");
        }
    }

    return result;
}&lt;/PRE&gt;</description>
    <pubDate>Tue, 01 Oct 2019 23:06:33 GMT</pubDate>
    <dc:creator>qw</dc:creator>
    <dc:date>2019-10-01T23:06:33Z</dc:date>
    <item>
      <title>Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69252#M42315</link>
      <description>&lt;P&gt;When attempting to create a customer profile with an Apple Pay token, I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E00141 - Payment Profile Creation with this OpaqueData descriptor requires transactionMode to be set to liveMode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this but there are no other details provided aobut the error:&lt;BR /&gt;&lt;A href="https://developer.authorize.net/api/reference/responseCodes.html?code=E00141" target="_blank"&gt;https://developer.authorize.net/api/reference/responseCodes.html?code=E00141&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this in both Sandbox and the Production side and in both places I get the same error.&amp;nbsp; What am I missing?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 16:28:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69252#M42315</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-09-30T16:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69272#M42332</link>
      <description>&lt;P&gt;This is the code I'm using which is essentially the sample account creation code, but supplying an opaqueDataType as the paymentType.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static CreateApplePayCustomerProfileResult Run(string ApiLoginID, string ApiTransactionKey, ApplePayPayment token, bool isLive)
{
    var result = new CreateApplePayCustomerProfileResult();
    result.DebugText += ("Create Apple Pay Profile Sample   ");
    result.DebugText += ("isLive == " + isLive + "  ");

    //comvert the "payment data token" back into JSON
    var tokenjson = Newtonsoft.Json.JsonConvert.SerializeObject(token.paymentData);

    //the base-64 encode it
    var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(tokenjson);
    var token64 = System.Convert.ToBase64String(plainTextBytes);

    // set whether to use the sandbox environment, or production enviornmentif (isLive)
    if(isLive)
    {
        ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.PRODUCTION;
    }
    else
    {
        ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;
    }

    // define the merchant information (authentication / transaction id)
    ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType()
    {
        name = ApiLoginID,
        ItemElementName = ItemChoiceType.transactionKey,
        Item = ApiTransactionKey
    };

    var applePay = new opaqueDataType {
        dataDescriptor = "COMMON.APPLE.INAPP.PAYMENT",
        dataValue = token64
    };

    paymentType ap = new paymentType { Item = applePay };
    List&amp;lt;customerPaymentProfileType&amp;gt; paymentProfileList = new List&amp;lt;customerPaymentProfileType&amp;gt;();
            
    customerPaymentProfileType apPaymentProfile = new customerPaymentProfileType();
    apPaymentProfile.payment = ap;
    paymentProfileList.Add(apPaymentProfile);

    List&amp;lt;customerAddressType&amp;gt; addressInfoList = new List&amp;lt;customerAddressType&amp;gt;();
    customerAddressType homeAddress = new customerAddressType();
    homeAddress.firstName = "Tester";
    homeAddress.lastName = "McTester";
    homeAddress.address = "10900 NE 8th St";
    homeAddress.city = "Seattle";
    homeAddress.zip = "98006";
            
    addressInfoList.Add(homeAddress);
            
    customerProfileType customerProfile = new customerProfileType();
    customerProfile.merchantCustomerId = "Test CustomerID";
    customerProfile.email = "Tester@McTester.nowhere.test.com";
    customerProfile.paymentProfiles = paymentProfileList.ToArray();
    customerProfile.shipToList = addressInfoList.ToArray();

    var request = new createCustomerProfileRequest { profile = customerProfile, validationMode = validationModeEnum.none };

    // instantiate the controller that will call the service
    var controller = new createCustomerProfileController(request);
    controller.Execute();

    // get the response from the service (errors contained if any)
    createCustomerProfileResponse response = controller.GetApiResponse();

    // validate response 
    if (response != null)
    {
        if (response.messages.resultCode == messageTypeEnum.Ok)
        {
            if (response.messages.message != null)
            {
                result.DebugText += ("Success!");
                result.DebugText += ("Customer Profile ID: " + response.customerProfileId);
                result.DebugText += ("Payment Profile ID: " + response.customerPaymentProfileIdList[0]);
                result.DebugText += ("Shipping Profile ID: " + response.customerShippingAddressIdList[0]);
            }
        }
        else
        {
            result.DebugText += ("Customer Profile Creation Failed.");
            result.DebugText += ("Error Code: " + response.messages.message[0].code);
            result.DebugText += ("Error message: " + response.messages.message[0].text);
        }
    }
    else
    {
        if (controller.GetErrorResponse().messages.message.Length &amp;gt; 0)
        {
            result.DebugText += ("Customer Profile Creation Failed.");
            result.DebugText += ("Error Code: " + response.messages.message[0].code);
            result.DebugText += ("Error message: " + response.messages.message[0].text);
        }
        else
        {
            result.DebugText += ("Null Response.");
        }
    }

    return result;
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Oct 2019 23:06:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69272#M42332</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-10-01T23:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69278#M42335</link>
      <description>&lt;P&gt;Try changing the&amp;nbsp;&lt;EM&gt;validationMode to validationModeEnum.liveMode&lt;/EM&gt; in the following line of your code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var request = new createCustomerProfileRequest { profile = customerProfile, validationMode = validationModeEnum.none };&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 06:44:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69278#M42335</guid>
      <dc:creator>rahulr</dc:creator>
      <dc:date>2019-10-03T06:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69288#M42342</link>
      <description>&lt;P&gt;Ok, that helped get me past the previous error!&amp;nbsp; But now the error is:&lt;BR /&gt;&lt;BR /&gt;E00027 Credit card number is required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 17:44:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69288#M42342</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-10-03T17:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69290#M42344</link>
      <description>&lt;P&gt;Error code E00027 means the &lt;SPAN&gt;transaction was unsuccessful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See more details here-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://developer.authorize.net/api/reference/responseCodes.html?code=E00027" target="_self"&gt;https://developer.authorize.net/api/reference/responseCodes.html?code=E00027&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the validationMode is set to liveMode a transaction will be performed to validate the card and reversed immediately. The details of this validation are sent in the "&lt;SPAN&gt;validationDirectResponseList" field in the api response.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 05:37:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69290#M42344</guid>
      <dc:creator>rahulr</dc:creator>
      <dc:date>2019-10-04T05:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69294#M42346</link>
      <description>&lt;P&gt;Right, but in this case I'm trying to use an Apple Pay opaqueDataType instead of a card, so there is no credit card to validate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried both creating just a customer profile, and creating a new subscription this way, and both return the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This post seems to indicate that what I am doing should be possible?:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="uiOutputText"&gt;&lt;A href="https://community.developer.authorize.net/t5/Integration-and-Testing/Can-I-create-a-recurring-subscription-from-Apple-Pay/m-p/63963/highlight/true#M37972" target="_blank" rel="noopener"&gt;https://community.developer.authorize.net/t5/Integration-and-Testing/Can-I-create-a-recurring-subscription-from-Apple-Pay/m-p/63963/highlight/true#M37972&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 14:35:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69294#M42346</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-10-04T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69320#M42366</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/32461"&gt;@qw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible to create profiles and subscriptions with&amp;nbsp;&lt;SPAN&gt;opaqueDataType.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since the card number is not in the&amp;nbsp;opaqueData, we need to perform a transaction to validate the card that is linked to the opaqueData. The liveMode is required for this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here it looks like your validation transaction is failing with the error code E00027.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 08:56:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69320#M42366</guid>
      <dc:creator>rahulr</dc:creator>
      <dc:date>2019-10-09T08:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69322#M42368</link>
      <description>&lt;P&gt;Is there sample code anywhere that shows how to do this?&amp;nbsp; The &lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-create-customer-profile" target="_self"&gt;"Create Customer Profile" example in the authorize.net documentation&lt;/A&gt; does not show how to use an Apple Pay token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my code that returns the E00027 Credit Card Required error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using System;
using System.Collections.Generic;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;
using Test_ApplePay.ApplePay;

namespace Test_ApplePay
{

    public class CreateApplePayCustomerProfileResult
    {
        public bool DidComplete { get; set; }
        public string DebugText { get; set; }
    }

    public class CreateApplePayCustomerProfile
    {
        public static CreateApplePayCustomerProfileResult Run(string ApiLoginID, string ApiTransactionKey, ApplePayPayment token, bool isLive)
        {
            var result = new CreateApplePayCustomerProfileResult();
            result.DebugText += ("Create Apple Pay Profile Sample   ");
            result.DebugText += ("isLive == " + isLive + "  ");

            //comvert the "payment data token" back into JSON
            var tokenjson = "";

            if (token != null) Newtonsoft.Json.JsonConvert.SerializeObject(token.paymentData);

            //the base-64 encode it
            var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(tokenjson);
            var token64 = System.Convert.ToBase64String(plainTextBytes);

            // set whether to use the sandbox environment, or production enviornmentif (isLive)
            if(isLive)
            {
                ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.PRODUCTION;
            }
            else
            {
                ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;
            }

            // define the merchant information (authentication / transaction id)
            ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType()
            {
                name = ApiLoginID,
                ItemElementName = ItemChoiceType.transactionKey,
                Item = ApiTransactionKey
            };

            List&amp;lt;customerPaymentProfileType&amp;gt; paymentProfileList = new List&amp;lt;customerPaymentProfileType&amp;gt;();

            var applePay = new opaqueDataType {
                dataDescriptor = "COMMON.APPLE.INAPP.PAYMENT",
                dataValue = token64
            };

            paymentType ap = new paymentType { Item = applePay };
            customerPaymentProfileType apPaymentProfile = new customerPaymentProfileType();
            apPaymentProfile.payment = ap;
            paymentProfileList.Add(apPaymentProfile);


            customerProfileType customerProfile = new customerProfileType();
            customerProfile.merchantCustomerId = "Test CustomerID";
            customerProfile.email = "Tester@McTester.nowhere.test.com";
            customerProfile.paymentProfiles = paymentProfileList.ToArray();

            var request = new createCustomerProfileRequest { profile = customerProfile, validationMode = validationModeEnum.liveMode };

            // instantiate the controller that will call the service
            var controller = new createCustomerProfileController(request);
            controller.Execute();

            // get the response from the service (errors contained if any)
            createCustomerProfileResponse response = controller.GetApiResponse();

            // validate response 
            if (response != null)
            {
                if (response.messages.resultCode == messageTypeEnum.Ok)
                {
                    if (response.messages.message != null)
                    {
                        result.DebugText += ("Success!");
                        result.DebugText += ("Customer Profile ID: " + response.customerProfileId);
                        result.DebugText += ("Payment Profile ID: " + response.customerPaymentProfileIdList[0]);
                        result.DebugText += ("Shipping Profile ID: " + response.customerShippingAddressIdList[0]);
                    }
                }
                else
                {
                    result.DebugText += ("Customer Profile Creation Failed.");
                    result.DebugText += ("Error Code: " + response.messages.message[0].code);
                    result.DebugText += ("Error message: " + response.messages.message[0].text);
                }
            }
            else
            {
                if (controller.GetErrorResponse().messages.message.Length &amp;gt; 0)
                {
                    result.DebugText += ("Customer Profile Creation Failed.");
                    result.DebugText += ("Error Code: " + response.messages.message[0].code);
                    result.DebugText += ("Error message: " + response.messages.message[0].text);
                }
                else
                {
                    result.DebugText += ("Null Response.");
                }
            }

            return result;
        }
    }
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Oct 2019 15:04:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69322#M42368</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-10-09T15:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69324#M42370</link>
      <description>&lt;P&gt;Along with that code above, we &lt;EM&gt;also&lt;/EM&gt; tried supplying the credit card number with the apple pay token in the same transaction like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;            var creditCard = new creditCardType
            {
                cardNumber = "[real card number]",
                expirationDate = "[real expiration]"
            };

            paymentType cc = new paymentType { Item = creditCard };
            customerPaymentProfileType ccPaymentProfile = new customerPaymentProfileType();
            ccPaymentProfile.payment = cc;
            paymentProfileList.Add(ccPaymentProfile);&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Oct 2019 15:36:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69324#M42370</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-10-09T15:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69333#M42377</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/32461"&gt;@qw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is your GatewayId? We can check the issue with the transaction.&lt;/P&gt;&lt;P&gt;You can use this request to get the gatewayId -&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/#transaction-reporting-get-merchant-details" target="_blank" rel="noopener"&gt;https://developer.authorize.net/api/reference/#transaction-reporting-get-merchant-details&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 06:47:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69333#M42377</guid>
      <dc:creator>rahulr</dc:creator>
      <dc:date>2019-10-10T06:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69336#M42380</link>
      <description>&lt;P&gt;This is our Gateway ID:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1776433&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:24:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69336#M42380</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-10-10T15:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69345#M42389</link>
      <description>&lt;P&gt;This gateway Id is for a production account (Merchant Name: Wellnicity.com). Are you doing this in sandbox or production? If sandbox, then the gateway Id will be different. We don't see any apple pay transactions for the gateway Id you provided.&lt;/P&gt;&lt;P&gt;A sample request for creating profiles using apple pay is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "createCustomerProfileRequest": {
        "merchantAuthentication": {
            "name": [ApiLoginId],
            "transactionKey": [TransactionKey]
        },
        "profile": {
            "merchantCustomerId": "Merchant_Customer_ID",
            "description": "Profile description here",
            "email": "customer-profile-email@here.com",
            "paymentProfiles": {
                "customerType": "individual",
		"payment": {
			"opaqueData": {
				"dataDescriptor": "COMMON.APPLE.INAPP.PAYMENT",
				"dataValue": [DataValue]
			}
		}
            }
        },
        "validationMode": "liveMode"
    }
}	&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 06:38:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69345#M42389</guid>
      <dc:creator>rahulr</dc:creator>
      <dc:date>2019-10-11T06:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69353#M42397</link>
      <description>&lt;P&gt;Yes, it is targeting the production side because I was told by authorize.net that this functionality only works in production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, please &lt;STRONG&gt;remove&lt;/STRONG&gt; the company name from your rely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try adding some of the properties in your sample to my request and see if it works.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:15:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69353#M42397</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-10-11T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69368#M42405</link>
      <description>&lt;P&gt;Those changes had no effect.&amp;nbsp; Is there anything else you can suggest?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 15:48:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69368#M42405</guid>
      <dc:creator>qw</dc:creator>
      <dc:date>2019-10-14T15:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Apple Pay - Customer Profile Creation - E00141 - Profile Creation With OpaqueData descriptor...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69463#M42474</link>
      <description>&lt;P&gt;1. Can we remove the merchant name and gateway ID from this discussion? You have the information now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Is there a better way to get support than this? We've been on hold with this issue for weeks now and it shouldn't be that hard to create a profile for Apple Pay, right?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 15:54:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Apple-Pay-Customer-Profile-Creation-E00141-Profile-Creation-With/m-p/69463#M42474</guid>
      <dc:creator>vtx</dc:creator>
      <dc:date>2019-10-21T15:54:51Z</dc:date>
    </item>
  </channel>
</rss>

