cancel
Showing results for 
Search instead for 
Did you mean: 

Order Summary not displaying

I am working on integrating Accept Hosted into ASP.net and I am having difficulties getting the Order Summary to show up on the top of the payment form. The only things that are displayed are the Payment Method and Pay/Cancel buttons. I have populated the order.description and lineItems in the transaction request, but they are not showing up on the payment form. Are there other fields that need to be populated so that the payment form shows this information?

 

 

 Dim profile = New customerProfilePaymentType()
 profile.customerProfileId = profileId

 transactionRequest = New transactionRequestType() With {
                .order = order,
                .lineItems = tmpInvoices.ToArray(),
                .transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),
                .amount = Convert.ToDecimal(PayAmount.Text.Trim),
                .profile = profile}

 

jasonpojo
Member
2 REPLIES 2

Hi @jasonpojo

 

Can you provide the request you sending for the token ?

 

Are you passing hostedPaymentOrderOptions as true in it ?

 

Thanks





Send feedback at developer_feedback@authorize.net
Anurag
Administrator Administrator
Administrator

I just found that PaymentOrderOptions was set to false. I am still having an issue with the lineItems not displaying.

 

<?xml version="1.0" encoding="utf-8"?>
<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>65wx2CHWMa</name>
    <transactionKey>8JU3pk58428dFv3J</transactionKey>
  </merchantAuthentication>
  <clientId>sdk-dotnet-1.9.4</clientId>
  <transactionRequest>
    <transactionType>authCaptureTransaction</transactionType>
    <amount>10.65</amount>
    <profile>
      <customerProfileId>1504732159</customerProfileId>
    </profile>
    <order>
      <description>Invoice Payment</description>
    </order>
    <lineItems>
      <lineItem>
        <itemId>0</itemId>
        <name>96240</name>
        <description>96240</description>
        <quantity>1</quantity>
        <unitPrice>10.6500</unitPrice>
      </lineItem>
    </lineItems>
  </transactionRequest>
  <hostedPaymentSettings>
    <setting>
      <settingName>hostedPaymentButtonOptions</settingName>
      <settingValue>{'text': 'Pay'}</settingValue>
    </setting>
    <setting>
      <settingName>hostedPaymentOrderOptions</settingName>
      <settingValue>{'show': true}</settingValue>
    </setting>
    <setting>
      <settingName>hostedPaymentReturnOptions</settingName>
      <settingValue>{'showReceipt': false}</settingValue>
    </setting>
    <setting>
      <settingName>hostedPaymentPaymentOptions</settingName>
      <settingValue>{'showBankAccount': false}</settingValue>
    </setting>
    <setting>
      <settingName>hostedPaymentBillingAddressOptions</settingName>
      <settingValue>{'show': true}</settingValue>
    </setting>
    <setting>
      <settingName>hostedPaymentIFrameCommunicatorUrl</settingName>
      <settingValue>{'url': 'https://www.xxxxx.com/dev/secure/IFComm.html'}</settingValue>
    </setting>
  </hostedPaymentSettings>
</getHostedPaymentPageRequest>