<?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 Create customer payment profile form reactjs in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Create-customer-payment-profile-form-reactjs/m-p/90439#M56895</link>
    <description>&lt;P&gt;I’m working on integrating Authorize.Net in a React.js application and would like guidance on securely creating a customer payment profile using &lt;STRONG&gt;Accept.js&lt;/STRONG&gt; to handle card details without them hitting my server.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My requirements:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;A form in React that collects card information (number, expiration date, CVV) and leverages Accept.js to obtain an opaque data CustomerPaymentProfileId .&lt;/LI&gt;&lt;LI&gt;Sending thisCustomerPaymentProfileId to my backend.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Could you provide any best practices or example code on setting up Accept.js in a React component?&lt;/LI&gt;&lt;LI&gt;Once the opaque data token is received in the frontend, how should it be processed in the backend to safely create a customer payment profile?&lt;/LI&gt;&lt;LI&gt;Are there any specific configurations or libraries you recommend for a smooth Accept.js integration in a React environment?&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 08 Oct 2024 07:43:48 GMT</pubDate>
    <dc:creator>shanbool</dc:creator>
    <dc:date>2024-10-08T07:43:48Z</dc:date>
    <item>
      <title>Create customer payment profile form reactjs</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Create-customer-payment-profile-form-reactjs/m-p/90439#M56895</link>
      <description>&lt;P&gt;I’m working on integrating Authorize.Net in a React.js application and would like guidance on securely creating a customer payment profile using &lt;STRONG&gt;Accept.js&lt;/STRONG&gt; to handle card details without them hitting my server.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My requirements:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;A form in React that collects card information (number, expiration date, CVV) and leverages Accept.js to obtain an opaque data CustomerPaymentProfileId .&lt;/LI&gt;&lt;LI&gt;Sending thisCustomerPaymentProfileId to my backend.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Could you provide any best practices or example code on setting up Accept.js in a React component?&lt;/LI&gt;&lt;LI&gt;Once the opaque data token is received in the frontend, how should it be processed in the backend to safely create a customer payment profile?&lt;/LI&gt;&lt;LI&gt;Are there any specific configurations or libraries you recommend for a smooth Accept.js integration in a React environment?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 08 Oct 2024 07:43:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Create-customer-payment-profile-form-reactjs/m-p/90439#M56895</guid>
      <dc:creator>shanbool</dc:creator>
      <dc:date>2024-10-08T07:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create customer payment profile form reactjs</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Create-customer-payment-profile-form-reactjs/m-p/94169#M58232</link>
      <description>&lt;P&gt;You’ll want to use &lt;STRONG&gt;Accept.js&lt;/STRONG&gt; just to grab the opaqueData (it gives you dataDescriptor + dataValue, not the paymentProfileId directly). In React, load the Accept.js script, call Accept.dispatchData with your API Login ID + Client Key, and then send the opaqueData to your backend.&lt;/P&gt;&lt;P&gt;On the backend, use the Authorize.Net SDK (createCustomerProfile or createCustomerPaymentProfile) and pass that opaqueData—this is where you actually get the customerProfileId / customerPaymentProfileId.&lt;/P&gt;&lt;P&gt;Key point: card data never touches your server, only the token does. For PCI scope reasons, stick with this flow or look at Accept Hosted if you want it even simpler.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 14:34:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Create-customer-payment-profile-form-reactjs/m-p/94169#M58232</guid>
      <dc:creator>marcos12342</dc:creator>
      <dc:date>2025-10-03T14:34:48Z</dc:date>
    </item>
  </channel>
</rss>

