12-06-2016 04:37 PM
Any help will be appreciated. Like I said, this is new to me (accepting credit card payments, that is).
12-08-2016 08:03 AM
After you have the nonce, you will use createTransactionRequest and use the Nonce for payment data as shown below:
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>yours</name> <transactionKey>yours</transactionKey> </merchantAuthentication> <transactionRequest> <transactionType>authCaptureTransaction</transactionType> <amount>75.00</amount> <payment> <opaqueData> <dataDescriptor>COMMON.ACCEPT.INAPP.PAYMENT</dataDescriptor> <dataValue>nonce_here</dataValue > </opaqueData> </payment> </transactionRequest> </createTransactionRequest>
12-08-2016 08:25 AM
12-08-2016 07:18 PM
While it may be possible to do this on a single page, it is more likely that you'll take the results from your call to Accept.js POST them to a separate page that will perform the actual API submission to ANET.