Hi All,
I am trying to recrete what I did before on loading the accept hosted form. This time it just loads up weird. I searched for it but what was loding seemingly loading fine just acted funny for the same xml and same iframe. I know the xml is correct and token i get is correct because i have checked it elsewhere. I was wondering if anybody has seen this before and knows exactly where to look.
Thanks
12-27-2017 01:47 PM
Hi All,
If I was unclear. This is what I see on my forms instead of a simple credit card information layout.
This happens when I login with my domain url: https:\\....
But when I open the same html file with C:\.. it is fine.
Secure Information
{{"Expires " + profile.payment.Item.expirationDate.slice(-2) + "/" + profile.payment.Item.expirationDate.slice(2, 4)}}
{{"Expired"}}
12-28-2017 07:47 AM
@Baibhav Can you send me your exact XML/JSON request for the hostedpaymentProfilepagerequest? I was trying the following and couldnt repro your issue.
-Bhavana
<getHostedPaymentPageRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>XXXX</name> <transactionKey>XXXXX</transactionKey> </merchantAuthentication> <transactionRequest> <transactionType>authOnlyTransaction</transactionType> <amount>22.72</amount> <order> <invoiceNumber>INV_i7C7p7M</invoiceNumber> <description>Order description</description> </order> <lineItems> <lineItem> <itemId>123</itemId> <name>SKU1</name> <description>line item 1 description</description> <quantity>1</quantity> <unitPrice>4.01</unitPrice> </lineItem> <lineItem> <itemId>1234</itemId> <name>SKU2</name> <description>line item 2 description</description> <quantity>2</quantity> <unitPrice>5.01</unitPrice> </lineItem> </lineItems> <tax> <amount>1.01</amount> <name>tax name</name> <description>tax descryption</description> </tax> <duty> <amount>3.01</amount> <name>tax name</name> <description>duty description</description> </duty> <shipping> <amount>2.01</amount> <name>freight name</name> <description>freight description</description> </shipping> <poNumber>PO#12345678</poNumber> <customer> <id>CUST12345</id> <email>blackhole@authorize.net</email> </customer> <billTo> <firstName>Bob</firstName> <lastName>Smith</lastName> <company>Test Company</company> <address>1234 Test Ave N.E.</address> <city>Test Bellevue</city> <state>WA</state> <zip>98009</zip> <country>USA</country> <phoneNumber>425 111 2222</phoneNumber> <faxNumber>425 111 2222</faxNumber> </billTo> <shipTo xsi:type="customerAddressExType"> <firstName>Bob</firstName> <lastName>Smith</lastName> <company>Test & Company</company> <address>Ship to 1234 Test Ave N.E.</address> <city>Test & Bellevue</city> <state>WA</state> <zip>98009</zip> <country>USA</country> <phoneNumber>425 111 2222</phoneNumber> <faxNumber>425 111 2222</faxNumber> </shipTo> <customerIP>10.123.345.678</customerIP> </transactionRequest> <hostedPaymentSettings> <setting> <settingName>hostedPaymentPaymentOptions</settingName> <settingValue>{"cardCodeRequired": true}</settingValue> </setting> <setting> <settingName>hostedPaymentBillingAddressOptions</settingName> <settingValue>{"show": true, "required":true}</settingValue> </setting> <setting> <settingName>hostedPaymentShippingAddressOptions</settingName> <settingValue>{"show": true, "required":true}</settingValue> </setting> <setting> <settingName>hostedPaymentCustomerOptions</settingName> <settingValue>{"showEmail": true, "requiredEmail":true}</settingValue> </setting> </hostedPaymentSettings> </getHostedPaymentPageRequest>
12-28-2017 02:59 PM
Hi, Thank you so much for the reply.
Here is my exact xml.
Also can you check my stackover flow link for images of the error I am getting.
<getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>xxxx</name> <transactionKey>xxxx</transactionKey> </merchantAuthentication> <transactionRequest> <transactionType>authCaptureTransaction</transactionType> <amount>10.00</amount> </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://myurl.com/url","urlText":"Continue","cancelUrl":"https://myurl.com/url","cancelUrlText":"Cancel"}</settingValue> </setting> <setting> <settingName>hostedPaymentStyleOptions</settingName> <settingValue>{"bgColor": "blue"}</settingValue> </setting> </hostedPaymentSettings> </getHostedPaymentPageRequest>
12-29-2017 09:20 AM
It's been a while but if you still have the same issue, can you please provide few more details-
Is the issue same in all browsers?
Can you please check if *.js files are loaded from memory/cache or freshly downloaded from authorize?
Sometimes if the files are fetched from memory/cache could lead to such problems. Your request looks fine to me.
Thanks,
Surya
01-10-2018 11:28 AM