Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Contributor
Posts: 21
Registered: ‎08-10-2017
Accepted Solution

Hosted payment payment page country dropdown empty

When my customer is directed the to the Hosted Payment page, the dropdown for Country is blank.  I am not trying to prefill it and do not send any info for it.  The other fields say City, State, etc. but the Country dropdown is blank so it is somewhat confusing as to what this field is unless the user clicks on the arrow. 

 

Is this by design or should it say Country?  If it is supposed to say Country is there a trick to it?

 

Thanks you.


Accepted Solutions
Solution
Accepted by topic author jmorgret
‎03-07-2018 02:22 PM
Authorize.Net Developer
Posts: 16
Registered: ‎03-01-2018

Re: Hosted payment payment page country dropdown empty

By default, it should say "COUNTRY" for the Country dropdown with arrow on the right.

 

Are you trying to prefilling other fields of <billTo> or <shipTo> in your request?

If yes, please try to add <country></country> and check if it works for you.

 

   <billTo>
      <firstName>xxx</firstName>
      <lastName>xxx</lastName>
      <company>xxx</company>
      <address>xxx</address>
      <city>xxx</city>
      <state>xxx</state>
      <zip>xxx</zip>
      <country></country>
      <phoneNumber>xxx</phoneNumber>
      <faxNumber>xxx</faxNumber>
   </billTo>

 

Thanks!

View solution in original post


All Replies
Solution
Accepted by topic author jmorgret
‎03-07-2018 02:22 PM
Authorize.Net Developer
Posts: 16
Registered: ‎03-01-2018

Re: Hosted payment payment page country dropdown empty

By default, it should say "COUNTRY" for the Country dropdown with arrow on the right.

 

Are you trying to prefilling other fields of <billTo> or <shipTo> in your request?

If yes, please try to add <country></country> and check if it works for you.

 

   <billTo>
      <firstName>xxx</firstName>
      <lastName>xxx</lastName>
      <company>xxx</company>
      <address>xxx</address>
      <city>xxx</city>
      <state>xxx</state>
      <zip>xxx</zip>
      <country></country>
      <phoneNumber>xxx</phoneNumber>
      <faxNumber>xxx</faxNumber>
   </billTo>

 

Thanks!

Member
Posts: 1
Registered: ‎09-01-2021

Re: Hosted payment payment page country dropdown empty

I'm also facing the same issue on the hosting payment page. If someone has a solution, then plz give me one.