<?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 One time payment and recurring payment at the same time in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/One-time-payment-and-recurring-payment-at-the-same-time/m-p/74770#M46528</link>
    <description>&lt;P&gt;I am using Accept.js and the hosted form. Is there a way to use the payment nounce to submit a one-time payment and a recurring payment? I don't want to have the user enter the CC info twice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I do something like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
        &amp;lt;createTransactionRequest&amp;gt;
            &amp;lt;merchantAuthentication&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;
            &amp;lt;transactionRequest&amp;gt;
                &amp;lt;transactionType&amp;gt;authCaptureTransaction&amp;lt;/transactionType&amp;gt;
                &amp;lt;amount&amp;gt;assignAMOUNT&amp;lt;/amount&amp;gt;
                &amp;lt;currencyCode&amp;gt;USD&amp;lt;/currencyCode&amp;gt;
                &amp;lt;payment&amp;gt;
                    &amp;lt;opaqueData&amp;gt;
                    &amp;lt;dataDescriptor&amp;gt;assignDD&amp;lt;/dataDescriptor&amp;gt;
                    &amp;lt;dataValue&amp;gt;assignDV&amp;lt;/dataValue&amp;gt;
                    &amp;lt;/opaqueData&amp;gt;
                &amp;lt;/payment&amp;gt;
            &amp;lt;/transactionRequest&amp;gt;
            &amp;lt;subscription&amp;gt;
                &amp;lt;name&amp;gt;Sample subscription&amp;lt;/name&amp;gt;
                &amp;lt;paymentSchedule&amp;gt;
                    &amp;lt;interval&amp;gt;
                        &amp;lt;length&amp;gt;1&amp;lt;/length&amp;gt;
                        &amp;lt;unit&amp;gt;months&amp;lt;/unit&amp;gt;
                    &amp;lt;/interval&amp;gt;
                    &amp;lt;startDate&amp;gt;2020-08-30&amp;lt;/startDate&amp;gt;
                    &amp;lt;totalOccurrences&amp;gt;12&amp;lt;/totalOccurrences&amp;gt;
                    &amp;lt;trialOccurrences&amp;gt;1&amp;lt;/trialOccurrences&amp;gt;
                &amp;lt;/paymentSchedule&amp;gt;
                &amp;lt;amount&amp;gt;10.29&amp;lt;/amount&amp;gt;
                &amp;lt;trialAmount&amp;gt;0.00&amp;lt;/trialAmount&amp;gt;
            &amp;lt;/subscription&amp;gt;
        &amp;lt;/createTransactionRequest&amp;gt;
        XML;&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Jan 2021 18:53:14 GMT</pubDate>
    <dc:creator>1MSC2020</dc:creator>
    <dc:date>2021-01-22T18:53:14Z</dc:date>
    <item>
      <title>One time payment and recurring payment at the same time</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/One-time-payment-and-recurring-payment-at-the-same-time/m-p/74770#M46528</link>
      <description>&lt;P&gt;I am using Accept.js and the hosted form. Is there a way to use the payment nounce to submit a one-time payment and a recurring payment? I don't want to have the user enter the CC info twice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I do something like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
        &amp;lt;createTransactionRequest&amp;gt;
            &amp;lt;merchantAuthentication&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;
            &amp;lt;transactionRequest&amp;gt;
                &amp;lt;transactionType&amp;gt;authCaptureTransaction&amp;lt;/transactionType&amp;gt;
                &amp;lt;amount&amp;gt;assignAMOUNT&amp;lt;/amount&amp;gt;
                &amp;lt;currencyCode&amp;gt;USD&amp;lt;/currencyCode&amp;gt;
                &amp;lt;payment&amp;gt;
                    &amp;lt;opaqueData&amp;gt;
                    &amp;lt;dataDescriptor&amp;gt;assignDD&amp;lt;/dataDescriptor&amp;gt;
                    &amp;lt;dataValue&amp;gt;assignDV&amp;lt;/dataValue&amp;gt;
                    &amp;lt;/opaqueData&amp;gt;
                &amp;lt;/payment&amp;gt;
            &amp;lt;/transactionRequest&amp;gt;
            &amp;lt;subscription&amp;gt;
                &amp;lt;name&amp;gt;Sample subscription&amp;lt;/name&amp;gt;
                &amp;lt;paymentSchedule&amp;gt;
                    &amp;lt;interval&amp;gt;
                        &amp;lt;length&amp;gt;1&amp;lt;/length&amp;gt;
                        &amp;lt;unit&amp;gt;months&amp;lt;/unit&amp;gt;
                    &amp;lt;/interval&amp;gt;
                    &amp;lt;startDate&amp;gt;2020-08-30&amp;lt;/startDate&amp;gt;
                    &amp;lt;totalOccurrences&amp;gt;12&amp;lt;/totalOccurrences&amp;gt;
                    &amp;lt;trialOccurrences&amp;gt;1&amp;lt;/trialOccurrences&amp;gt;
                &amp;lt;/paymentSchedule&amp;gt;
                &amp;lt;amount&amp;gt;10.29&amp;lt;/amount&amp;gt;
                &amp;lt;trialAmount&amp;gt;0.00&amp;lt;/trialAmount&amp;gt;
            &amp;lt;/subscription&amp;gt;
        &amp;lt;/createTransactionRequest&amp;gt;
        XML;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jan 2021 18:53:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/One-time-payment-and-recurring-payment-at-the-same-time/m-p/74770#M46528</guid>
      <dc:creator>1MSC2020</dc:creator>
      <dc:date>2021-01-22T18:53:14Z</dc:date>
    </item>
  </channel>
</rss>

