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.
Can I do something like this?
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionRequest>
<merchantAuthentication></merchantAuthentication>
<transactionRequest>
<transactionType>authCaptureTransaction</transactionType>
<amount>assignAMOUNT</amount>
<currencyCode>USD</currencyCode>
<payment>
<opaqueData>
<dataDescriptor>assignDD</dataDescriptor>
<dataValue>assignDV</dataValue>
</opaqueData>
</payment>
</transactionRequest>
<subscription>
<name>Sample subscription</name>
<paymentSchedule>
<interval>
<length>1</length>
<unit>months</unit>
</interval>
<startDate>2020-08-30</startDate>
<totalOccurrences>12</totalOccurrences>
<trialOccurrences>1</trialOccurrences>
</paymentSchedule>
<amount>10.29</amount>
<trialAmount>0.00</trialAmount>
</subscription>
</createTransactionRequest>
XML;