Showing results for 
Search instead for 
Did you mean: 

Accept Hosted form address validation

Hi there!
I'm starting using Accept Hosted form, but I have my own donor's data form implemented. When I'm trying to send this data in "Request token" post with "hostedPaymentBillingAddressOptions" switched off it processes without having donor's data to transaction data. And when I'm trying to send it with "hostedPaymentBillingAddressOptions" switched on it shows donor's data in form and saves it but without any validation.

Can anyone help with it? In two words:
1) How to pass donor's data to transaction without displaying it in Accept Hosted form?
2) If there is no way to do the 1st - can I set donor's data to be readonly in form? Or when should I switch validation on?


Here is the XML I send to "" to get token, if it will help.

<getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
			<address>14 Main Street</address>
			<city>Pecan Springs</city>
			<settingValue>{"text": "Pay"}</settingValue>
			<settingValue>{"show": false}</settingValue>
			<settingValue>{"showReceipt" : false, "cancelUrl": "MY_URL", "cancelUrlText": "Close"}</settingValue>

Thanks for help.


How to get the other address field in AccetpUI payment form?

I just see first name , lastname , zipcode and Credit card fields