Is it possible to use the php SDK with Accept.js? I see raw xml examples and tried using the AIM class without any luck..
Here are examples of what I have tried:
$transaction = new AuthorizeNetAIM ('xxx', 'xxx');
$transaction->amount = $amount;
$transaction->card_num = "<opaqueData>
<dataDescriptor>".$dataDescriptor."</dataDescriptor>
<dataValue>".$dataValue."</dataValue >
</opaqueData>";
---
$transaction = new AuthorizeNetAIM ('xxx', 'xxx');
$transaction->amount = $amount;
$transaction->card_num = $noOnceArray;
--
$transaction = new AuthorizeNetAIM ('xxx', 'xxx');
$transaction->amount = $amount;
$transaction->card_num = (object) $noOnceArray;
With array and php I get a similar object indicating it's just echoing the item as a string
<b>Warning</b>: urlencode() expects parameter 1 to be string, object given in
โ04-13-2017 03:04 PM
โ04-13-2017 03:27 PM
Thanks worked perfect!
โ04-13-2017 07:01 PM