Hi,
I am using accept Hosted form to process payments.
"Bill to Company" is a required field for me on payment form.
I am unable to display the field "Bill to company" on my hosted Payment form.
Following is the xml, with which I am creating token :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>xyzname</name>
<transactionKey>xyzkey</transactionKey>
</merchantAuthentication>
<refId>abcdefghi1234567</refId>
<transactionRequest>
<transactionType>authCaptureTransaction</transactionType>
<amount>100</amount>
<order>
<invoiceNumber>470301</invoiceNumber>
<description>associations</description>
</order>
<profile>
<customerProfileId>123456789</customerProfileId>
</profile>
<billTo>
<firstName>shikhar</firstName>
<lastName>kumar</lastName>
<company>Avolin</company>
<address>14 Main Street</address>
<city>DuPont</city>
<state>IA</state>
<zip>50131</zip>
<country>USA</country>
</billTo>
</transactionRequest>
<hostedPaymentSettings>
<setting>
<settingName>hostedPaymentBillingAddressOptions</settingName>
<settingValue>{"show":true,"required":true}</settingValue>
</setting>
<setting>
<settingName>hostedPaymentButtonOptions</settingName>
<settingValue>{"text":"Pay"}</settingValue>
</setting>
<setting>
<settingName>hostedPaymentReturnOptions</settingName>
<settingValue>
{"url":"https:\/\/localhost:8092\/anet_ah\/ah_response.php?sc_key=0e218bb9a6d4cfc8248ded2e2d7f068a6af971a4c9220e921cc3a1948dbfb","urlText":"Continue","cancelUrl":"https:\/\/localhost:8092\/f\/index.php?page=authcanceled","cancelUrlText":"Cancel"}
</settingValue>
</setting>
</hostedPaymentSettings>
</getHostedPaymentPageRequest>
Thanks in advance,
Shikhar
โ04-08-2020 12:17 AM
Reply received from Authorize.net support:
This is actually a know bug with accept hosted. One of the bugs with Accept Hosted is that it can take in a company name on the initial API call, but it's never used on the payment form or subsequent transaction. This is something our Engineers are aware of but do not have a time frame of when this may be resolved. We apologize for any inconvenience this may cause.
Hope this helps someone !!
Thanks,
Shikhar
โ04-30-2020 06:52 AM
Hi shikhar, this post is last year. Has this sloved yet?
โ01-25-2022 03:33 PM
As of today, it appears that this bug is still not resolved. I see several other posts on this forum with users requesting it to be fixed. Please fix it - I'm sure it would be much appreciated by many. Thanks in advance.
โ09-09-2022 01:39 PM