• Resolved chsh

    (@chsh)


    Hello,

    We are using the 3rd-Party Integration and 3rd-Party Xml Post plugins to post Gravity forms as XML to 3rd party and we have mapped all the fields, but only some are being sent… we’ve triple checked all, also tried both id’s and names, but still not all is being sent. For example PrimaryApplicant/Firstname, PrimaryApplicant/Lastname, etc are not being sent. You can see it in the debug log below, only sends PrimaryApplicant/Email, PrimaryApplicant/Phone, etc, but a lot of them are not included in the sent xml. Any ideas?

    
    *** Service ***
    Array
    (
        [name] => Consumer
        [url] => https://powerpay.qa.defisolutions.com/Integrator/SubmitApplication?authtoken=EditedOut
        [method] => post
        [forms] => Array
            (
                [0] => gf_7
            )
    
        [success] => 
        [failure] => 
        [timeout] => 20
        [as-xpost] => true
        [xpost-wrapper] => loanapplication
        [xpost-header] => 
        [mapping] => Array
            (
                [0] => Array
                    (
                        [val] => 1
                        [lbl] => DefiDealerId
                        [src] => 1
                        [3rd] => DefiDealerId
                    )
    
                [1] => Array
                    (
                        [val] => 1
                        [lbl] => DefiSourceSystemId
                        [src] => WEB
                        [3rd] => DefiSourceSystemId
                    )
    
                [2] => Array
                    (
                        [val] => 1
                        [lbl] => IncomeFrequency
                        [src] => 2
                        [3rd] => IncomeFrequency
                    )
    
                [3] => Array
                    (
                        [val] => 1
                        [lbl] => POBox
                        [src] => 1
                        [3rd] => POBox
                    )
    
                [4] => Array
                    (
                        [lbl] => Firstname
                        [src] => input_1.3
                        [3rd] => PrimaryApplicant/Firstname
                    )
    
                [5] => Array
                    (
                        [lbl] => Lastname
                        [src] => input_24.6
                        [3rd] => PrimaryApplicant/Lastname
                    )
    
                [6] => Array
                    (
                        [lbl] => DOB
                        [src] => input_2[]
                        [3rd] => PrimaryApplicant/DOB
                    )
    
                [7] => Array
                    (
                        [lbl] => Phone
                        [src] => input_3
                        [3rd] => PrimaryApplicant/Phone
                    )
    
                [8] => Array
                    (
                        [lbl] => Email
                        [src] => input_4
                        [3rd] => PrimaryApplicant/Email
                    )
    
                [9] => Array
                    (
                        [lbl] => SSN
                        [src] => input_6
                        [3rd] => PrimaryApplicant/SSN
                    )
    
                [10] => Array
                    (
                        [lbl] => StreetAddress
                        [src] => input_21.1
                        [3rd] => PrimaryApplicant/StreetAddress
                    )
    
                [11] => Array
                    (
                        [lbl] => City
                        [src] => input_21.3
                        [3rd] => PrimaryApplicant/City
                    )
    
                [12] => Array
                    (
                        [lbl] => State
                        [src] => input_21.4
                        [3rd] => PrimaryApplicant/State
                    )
    
                [13] => Array
                    (
                        [lbl] => ZIP
                        [src] => input_21.5
                        [3rd] => PrimaryApplicant/ZIP
                    )
    
                [14] => Array
                    (
                        [lbl] => AnnualIncome
                        [src] => input_12
                        [3rd] => PrimaryApplicant/AnnualIncome
                    )
    
                [15] => Array
                    (
                        [lbl] => RequestedLoanAmount
                        [src] => input_16
                        [3rd] => PrimaryApplicant/RequestedLoanAmount
                    )
    
                [16] => Array
                    (
                        [lbl] => Firstname
                        [src] => input_28.3
                        [3rd] => CoApplicant/Firstname
                    )
    
                [17] => Array
                    (
                        [lbl] => Lastname
                        [src] => input_29.6
                        [3rd] => CoApplicant/Lastname
                    )
    
                [18] => Array
                    (
                        [lbl] => DOB
                        [src] => input_32
                        [3rd] => CoApplicant/DOB
                    )
    
                [19] => Array
                    (
                        [lbl] => Phone
                        [src] => input_33
                        [3rd] => CoApplicant/Phone
                    )
    
                [20] => Array
                    (
                        [lbl] => Email
                        [src] => input_4
                        [3rd] => CoApplicant/Email
                    )
    
                [21] => Array
                    (
                        [lbl] => SSN
                        [src] => input_35
                        [3rd] => CoApplicant/SSN
                    )
    
                [22] => Array
                    (
                        [lbl] => StreetAddress
                        [src] => input_30.1
                        [3rd] => CoApplicant/StreetAddress
                    )
    
                [23] => Array
                    (
                        [lbl] => City
                        [src] => input_30.3
                        [3rd] => CoApplicant/City
                    )
    
                [24] => Array
                    (
                        [lbl] => State
                        [src] => input_30.4
                        [3rd] => CoApplicant/State
                    )
    
                [25] => Array
                    (
                        [lbl] => ZIP
                        [src] => input_30.5
                        [3rd] => CoApplicant/ZIP
                    )
    
                [26] => Array
                    (
                        [lbl] => AnnualIncome
                        [src] => input_34
                        [3rd] => CoApplicant/AnnualIncome
                    )
    
                [27] => Array
                    (
                        [lbl] => RequestedLoanAmount
                        [src] => input_16
                        [3rd] => CoApplicant/RequestedLoanAmount
                    )
    
            )
    
    )
    
    *** Post (Form) ***
    https://getpowerpay.com/consumers/
    Array
    (
        [input_1_3] => ILIYAN
        [input_24_6] => TOPALOV
        [input_2] => Array
            (
                [0] => 9
                [1] => 12
                [2] => 2007
            )
    
        [input_3] => (984) 387-4874
        [input_4] => [email protected]
        [input_6] => 343-24-2343
        [input_7] => Yes
        [input_21_1] => ul Gerogi Sava Rakovski 87 B 3, Dress1
        [input_21_3] => Sliven
        [input_21_4] => Colorado
        [input_21_5] => 8800
        [input_21_6] => United States
        [input_12] => 4,423
        [input_16] => 10,000
        [input_22] => 36 months
        [input_28_3] => Dimitar
        [input_29_6] => Dimitrov
        [input_32] => Array
            (
                [0] => 12
                [1] => 11
                [2] => 1997
            )
    
        [input_33] => (984) 387-4874
        [input_30_copy_values_activated] => 1
        [input_30_1] => Sliven1
        [input_30_3] => Sliven
        [input_30_4] => Colorado
        [input_30_5] => 196652
        [input_30_6] => United States
        [input_34] => 32,133
        [input_35] => 434-34-3234
        [input_23_1] => By selecting this checkbox, I, the applicant, agree to the following:
        [gform_ajax] => form_id=7&title=&description=&tabindex=1
        [is_submit_7] => 1
        [gform_submit] => 7
        [gform_unique_id] => 5b55da82a9a84
        [state_7] => WyJbXSIsImI3YjllNTgyZTcwYTQ3MTFiYTMzNzIzZGE4ZTAzZWY2Il0=
        [gform_target_page_number_7] => 0
        [gform_source_page_number_7] => 5
        [gform_field_values] => 
        [First Name] => Array
            (
                [0] => ILIYAN
                [1] => Dimitar
            )
    
        [Last Name] => Array
            (
                [0] => TOPALOV
                [1] => Dimitrov
            )
    
        [Date of Birth] => Array
            (
                [0] => 9
                [1] => 12
                [2] => 2007
                [3] => Array
                    (
                        [0] => 12
                        [1] => 11
                        [2] => 1997
                    )
    
            )
    
        [Phone] => Array
            (
                [0] => (984) 387-4874
                [1] => (984) 387-4874
            )
    
        [Email] => [email protected]
        [Social Security Number] => Array
            (
                [0] => 343-24-2343
                [1] => 434-34-3234
            )
    
        [Will you be applying with a co-applicant?] => Yes
        [Address] => Array
            (
                [0] => ul Gerogi Sava Rakovski 87 B 3, Dress1
                [1] => Sliven
                [2] => Colorado
                [3] => 8800
                [4] => United States
                [5] => 1
                [6] => Sliven1
                [7] => Sliven
                [8] => Colorado
                [9] => 196652
                [10] => United States
            )
    
        [Annual Income] => 4,423
        [Request Loan Amount] => 10,000
        [Post Promotional Term (Months)] => 36 months
        [Enter Annual Income] => 32,133
        [] => By selecting this checkbox, I, the applicant, agree to the following:
    )
    
    *** Post (to Service) ***
    Array
    (
        [timeout] => 20
        [body] => <?xml version="1.0"?>
    <loanapplication><PrimaryApplicant><Phone>(984) 387-4874</Phone><Email>[email protected]</Email><SSN>343-24-2343</SSN><AnnualIncome>4,423</AnnualIncome><RequestedLoanAmount>10,000</RequestedLoanAmount></PrimaryApplicant><CoApplicant><DOB>12, 11, 1997</DOB><Phone>(984) 387-4874</Phone><Email>[email protected]</Email><SSN>434-34-3234</SSN><AnnualIncome>32,133</AnnualIncome><RequestedLoanAmount>10,000</RequestedLoanAmount></CoApplicant><DefiDealerId>1</DefiDealerId><DefiSourceSystemId>WEB</DefiSourceSystemId><IncomeFrequency>2</IncomeFrequency><POBox>1</POBox></loanapplication>
    
        [headers] => Array
            (
                [Content-Type] => application/xml
            )
    
    )
    
    *** Response ***
    WP_HTTP_Requests_Response Object
    (
        [response:protected] => Requests_Response Object
            (
                [body] => <?xml version="1.0" encoding="utf-8"?>
    <GenericSubmitAppResponse xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
      <Errors>
        <ErrorData>
          <Message>Id:1758135, Name:'RequestedLoanAmount', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758137, Name:'Firstname', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758138, Name:'Lastname', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758139, Name:'DOB', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758143, Name:'StreetAddress', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758144, Name:'City', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758145, Name:'State', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758146, Name:'Zip', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758148, Name:'DriversLicense', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758149, Name:'DriversLicenseState', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758151, Name:'Firstname', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758152, Name:'Lastname', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758157, Name:'StreetAddress', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758158, Name:'City', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758159, Name:'State', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758160, Name:'Zip', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758162, Name:'DriversLicense', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758163, Name:'DriversLicenseState', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758164, Name:'IncomeFrequency', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758167, Name:'POBox', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Invalid default client dealer id. Dealer with the default client dealer id does not exist in defi system.</Message>
        </ErrorData>
        <ErrorData>
          <Message>Invalid dealer id. Dealer with the dealer id does not exist in defi system.</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter First Name for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter Last Name for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter DOB for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter valid home phone number in format 999-999-9999 for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address City for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address State for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address Zip Code for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter either StreetName & Number or PoBoxNumber for primary applicant current address</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter First Name for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter Last Name for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter valid home phone number in format 999-999-9999 for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address City for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address State for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address Zip Code for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter either StreetName & Number or PoBoxNumber for co applicant current address</Message>
        </ErrorData>
      </Errors>
      <Success>false</Success>
      <ApplicationNumber xsi:nil="true" />
    </GenericSubmitAppResponse>
                [raw] => HTTP/1.1 200 OK
    Date: Mon, 23 Jul 2018 13:40:06 GMT
    Content-Type: text/xml; charset=utf-8
    Content-Length: 836
    Connection: close
    Set-Cookie: AWSALB=VzGaZaKhRcrBRREw/JdOXZ5Pmpd0kZXf1NSA6CyKquU8ox7CX6Feasn36NhIapS/w6T0WnvfGYnz6hb6uWZk1NiHq8oq/Xd2QdvGlIDgCPExO0XZ3J/O5WQZXm1a; Expires=Mon, 30 Jul 2018 13:40:05 GMT; Path=/
    Cache-Control: private
    Content-Encoding: gzip
    Vary: Accept-Encoding
    X-Frame-Options: SAMEORIGIN
    
    <?xml version="1.0" encoding="utf-8"?>
    <GenericSubmitAppResponse xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
      <Errors>
        <ErrorData>
          <Message>Id:1758135, Name:'RequestedLoanAmount', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758137, Name:'Firstname', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758138, Name:'Lastname', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758139, Name:'DOB', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758143, Name:'StreetAddress', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758144, Name:'City', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758145, Name:'State', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758146, Name:'Zip', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758148, Name:'DriversLicense', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758149, Name:'DriversLicenseState', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758151, Name:'Firstname', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758152, Name:'Lastname', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758157, Name:'StreetAddress', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758158, Name:'City', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758159, Name:'State', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758160, Name:'Zip', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758162, Name:'DriversLicense', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758163, Name:'DriversLicenseState', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758164, Name:'IncomeFrequency', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Id:1758167, Name:'POBox', Value:''</Message>
        </ErrorData>
        <ErrorData>
          <Message>Invalid default client dealer id. Dealer with the default client dealer id does not exist in defi system.</Message>
        </ErrorData>
        <ErrorData>
          <Message>Invalid dealer id. Dealer with the dealer id does not exist in defi system.</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter First Name for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter Last Name for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter DOB for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter valid home phone number in format 999-999-9999 for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address City for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address State for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address Zip Code for primary applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter either StreetName & Number or PoBoxNumber for primary applicant current address</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter First Name for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter Last Name for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter valid home phone number in format 999-999-9999 for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address City for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address State for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Please enter current address Zip Code for co applicant</Message>
        </ErrorData>
        <ErrorData>
          <Message>Must enter either StreetName & Number or PoBoxNumber for co applicant current address</Message>
        </ErrorData>
      </Errors>
      <Success>false</Success>
      <ApplicationNumber xsi:nil="true" />
    </GenericSubmitAppResponse>
                [headers] => Requests_Response_Headers Object
                    (
                        [data:protected] => Array
                            (
                                [date] => Array
                                    (
                                        [0] => Mon, 23 Jul 2018 13:40:06 GMT
                                    )
    
                                [content-type] => Array
                                    (
                                        [0] => text/xml; charset=utf-8
                                    )
    
                                [content-length] => Array
                                    (
                                        [0] => 836
                                    )
    
                                [set-cookie] => Array
                                    (
                                        [0] => AWSALB=VzGaZaKhRcrBRREw/JdOXZ5Pmpd0kZXf1NSA6CyKquU8ox7CX6Feasn36NhIapS/w6T0WnvfGYnz6hb6uWZk1NiHq8oq/Xd2QdvGlIDgCPExO0XZ3J/O5WQZXm1a; Expires=Mon, 30 Jul 2018 13:40:05 GMT; Path=/
                                    )
    
                                [cache-control] => Array
                                    (
                                        [0] => private
                                    )
    
                                [content-encoding] => Array
                                    (
                                        [0] => gzip
                                    )
    
                                [vary] => Array
                                    (
                                        [0] => Accept-Encoding
                                    )
    
                                [x-frame-options] => Array
                                    (
                                        [0] => SAMEORIGIN
                                    )
    
                            )
    
                    )
    
                [status_code] => 200
                [protocol_version] => 1.1
                [success] => 1
                [redirects] => 0
                [url] => https://powerpay.qa.defisolutions.com/Integrator/SubmitApplication?authtoken=EditedOut
                [history] => Array
                    (
                    )
    
                [cookies] => Requests_Cookie_Jar Object
                    (
                        [cookies:protected] => Array
                            (
                                [AWSALB] => Requests_Cookie Object
                                    (
                                        [name] => AWSALB
                                        [value] => VzGaZaKhRcrBRREw/JdOXZ5Pmpd0kZXf1NSA6CyKquU8ox7CX6Feasn36NhIapS/w6T0WnvfGYnz6hb6uWZk1NiHq8oq/Xd2QdvGlIDgCPExO0XZ3J/O5WQZXm1a
                                        [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
                                            (
                                                [data:protected] => Array
                                                    (
                                                        [expires] => 1532958005
                                                        [path] => /
                                                        [domain] => powerpay.qa.defisolutions.com
                                                    )
    
                                            )
    
                                        [flags] => Array
                                            (
                                                [creation] => 1532353205
                                                [last-access] => 1532353205
                                                [persistent] => 
                                                [host-only] => 1
                                            )
    
                                        [reference_time] => 1532353205
                                    )
    
                            )
    
                    )
    
            )
    
        [filename:protected] => 
        [data] => 
        [headers] => 
        [status] => 
    )

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Please continue on this topic. Also don’t make topics “(URGENT!)” as these are volunteer forums and that includes the authors. They’re volunteers too.

    Thread Starter chsh

    (@chsh)

    Ok, thanks.

    Thread Starter chsh

    (@chsh)

    So can anyone help us? We can pay for the support if needed. Thanks.

    Plugin Author zaus

    (@zaus)

    GF labels fields strangely between the “frontend” (admin) and “backend” (submission), particularly for nested/grouped fields. Note the period in what you entered to be mapped, but the underscore in what is actually present in the form values:

    [lbl] => Firstname
    [src] => input_1.3
    [3rd] => PrimaryApplicant/Firstname

    [lbl] => Lastname
    [src] => input_24.6
    [3rd] => PrimaryApplicant/Lastname

    Vs

    [input_1_3] => ILIYAN
    [input_24_6] => TOPALOV

    Sorry for the trouble, gets everyone (including me).

    Thread Starter chsh

    (@chsh)

    Thanks a lot! Works great!

    Thread Starter chsh

    (@chsh)

    Hey, can you please help us with this https://www.ads-software.com/support/topic/wrap-json-in-square-brackets/
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not posting all fields, even though all are configured’ is closed to new replies.