cancel
Showing results for 
Search instead for 
Did you mean: 

billTo fails: Accept Hosted Form

Using the php sample app from GitHub.

 

It works as received from GitHub.

 

When I edit "getHostedPaymentForm.php" to add <billTo> information, I expect the form to display with the billTo name and address filled in.

 

Instead, I get the message "Missing or invalid token." where the form should display.

 

I am pasting into the <transactionRequest> the following xml, direct from the api:

<billTo>
        <firstName>Ellen</firstName>
        <lastName>Johnson</lastName>
        <company>Souveniropolis</company>
        <address>14 Main Street</address>
        <city>Pecan Springs</city>
        <state>TX</state>
        <zip>44628</zip>
        <country>USA</country>
    </billTo>

 

 

adrianh
Member
3 REPLIES 3

Did you do a full page refresh on the page which loads Accept Hosted?

brianmc
Administrator Administrator
Administrator

Yes. Full page reload/refresh.

 

No Joy.

Can you provide the full request for getHostedPaymentPage ?

 

Thanks

Anurag





Send feedback at developer_feedback@authorize.net