cancel
Showing results for 
Search instead for 
Did you mean: 

Bill To Company doesn't show up on Accept hosted payment form

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

shikhar
Member
3 REPLIES 3

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

shikhar
Member

Hi shikhar,  this post is last year. Has this sloved yet?

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.

mss_ben
Member