difster

Hosted Checkout Address Fields

Discussion created by difster on Jun 24, 2020

I'm setting up Hosted Checkout. I've managed to generate a TransactionSetupID and get a hosted checkout form. Where I'm having trouble is, I can't figure how to add the Billing Name, Address, Zip, to that form.

 

Here is the XML I'm using. Where does the <Address> class go? I can't seem to find any information on it at all. Whatever documentation  you can point  me to would be helpful.
(Note: the values with $ in front of them are PHP variables from my application).

 

<?xml version='1.0' encoding='UTF-8'?>
<TransactionSetup xmlns='https://transaction.elementexpress.com'>
<Credentials>
<AccountID>" . $account_id . "</AccountID>
<AccountToken>" . $account_token . "</AccountToken>
<AcceptorID>" . $acceptor_id . "</AcceptorID>
</Credentials>
<Application>
<ApplicationID>" . $application_id . "</ApplicationID>
<ApplicationName>" . $application_name . "</ApplicationName>
<ApplicationVersion>" . $application_version . "</ApplicationVersion>
</Application>
<Transaction>
<TransactionAmount>6.98</TransactionAmount>
<ReferenceNumber>999</ReferenceNumber>
<TicketNumber>1111</TicketNumber>
<MarketCode>7</MarketCode>
<PartialApprovedFlag>1</PartialApprovedFlag>
</Transaction>
<Terminal>
<TerminalID>01</TerminalID>
<CardholderPresentCode>2</CardholderPresentCode>
<CardInputCode>5</CardInputCode>
<TerminalCapabilityCode>3</TerminalCapabilityCode>
<TerminalEnvironmentCode>2</TerminalEnvironmentCode>
<CardPresentCode>2</CardPresentCode>
<MotoECICode>1</MotoECICode>
<CVVPresenceCode>1</CVVPresenceCode>
</Terminal>

<TransactionSetup>
<TransactionSetupMethod>1</TransactionSetupMethod>
<Device>1</Device>
<Embedded>1</Embedded>
<CVVRequired>1</CVVRequired>
<AutoReturn>0</AutoReturn>
<CompanyName>Test Company</CompanyName>
<LogoURL></LogoURL>
<Tagline>XXXXXXXXX</Tagline>
<WelcomeMessage>QQQQQQQQQQQQQQQQQ</WelcomeMessage>
<ReturnURL>https://wpsbridge.com/express/transactionsetup.php</ReturnURL>
<ReturnURLTitle>Test Title</ReturnURLTitle>
<OrderDetails>SOME ORDER DETAILS</OrderDetails>
<ProcessTransactionTitle>Submit Payment</ProcessTransactionTitle>
</TransactionSetup>
</TransactionSetup>

Outcomes