Announcement

Collapse
No announcement yet.

CP Data not coming into Salesforce with Transaction Campaign.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CP Data not coming into Salesforce with Transaction Campaign.

    I've got a FAAS Form that's working fine except for some reason the CP data that's being pushed back into Salesforce in isn't being sent back with the transaction campaign like it used to, just the opportunity (item)'s campaign.

    Is this a change you've made or is something gone glitchy?

    I made a test / sample donation on https://tahoefund.secure.force.com/donate?test=true
    To the project - Incline Path
    Which setst the campaign for the transaction
    <input name="Campaign" type="hidden" value="Incline to Sand Harbor Bike Path">

    And the campaign for the Item :
    <input name="Campaign1" type="hidden" value="Incline to Sand Harbor Bike Path">

    So for my test donation it submitted the data and I did it again to the faas form verification url and it did show the transaction campaign IS being sent.

    But it resulted in the CP Data sent to salesforce shows that the transaction campaign is blank , but it did push through the item campaign.
    But since the autoresponders only fire off of the transaction's campaign, the autoresponders are not firing.
    Simon Jensen
    KELL Partners

  • #2
    anyone have any idea?
    Simon Jensen
    KELL Partners

    Comment


    • #3
      Good day Simon,

      Do you have an Order Number that we can review its XML?
      Regards,
      Click & Pledge Support Department

      On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

      Join us @ the educational webinars: https://clickandpledge.com/webinars/
      Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
      Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

      Comment


      • #4
        1409241109594861111
        Simon Jensen
        KELL Partners

        Comment


        • #5
          Simon,

          We are investigating this. We don't see the main campaign in the XML so we are investigating the FaaS processor & your code.

          I will be back with you once we can determine what is going on.
          Regards,
          Click & Pledge Support Department

          On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

          Join us @ the educational webinars: https://clickandpledge.com/webinars/
          Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
          Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

          Comment


          • #6
            Good day Simon,

            Here are the 2 lines in your code that you have campaign:

            <input id="campaign" name="Campaign1" type="hidden" />
            <input id="campaignMaster" name="Campaign" type="hidden" />

            The first line (Campaign1) is for the item campaign and the second one with id of campaignMaster is for the Transaction campaign as you have named it.

            In reviewing the posted XML we don't see the Transaction campaign being posted. The XML has the item campaign but the transaction campaign is NULL.

            Based on your HTML it seems like you are using JavaScript to add campaigns in run-time based on user selection. Are you sure the Transaction campaign is being posted?

            I strongly suggest that you use: https://verify.faas.cloud.clickandpledge.com and see exactly what you are posting.

            I am sure once you post to the verification service you will see the NULL value for that field.

            Have you tried passing the campaign value statically to see if that posts? e.g.

            <input id="campaignMaster" name="Campaign" type="hidden" value="test" />

            It could be a good test.

            Let us know what you find out.
            Regards,
            Click & Pledge Support Department

            On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

            Join us @ the educational webinars: https://clickandpledge.com/webinars/
            Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
            Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

            Comment


            • #7
              I've modified my developer test page to pass it statically.
              https://kellpartners-sj--developer-e...rce.com/donate

              It looks like it's something specific to that campaign name "Incline to Sand Harbor Bike Path"

              If I post to the verify.faas site it works fine and shows that the campaign name is being submitted properly.

              However the CP Data that gets inserted to SF looks like this and is missing the campaign.

              <?xml version="1.0" encoding="UTF-8"?>
              <CnPTransactionData><Version>40</Version>
              <Application><ID>CnP_FaaS</ID>
              <Name>CnP_FaaS</Name>
              <Version>FaaS.20140405.001.036.000.000.036</Version>
              </Application>
              <Patron>
              <BillingInformation><BillingFirstName>test</BillingFirstName>
              <BillingMI></BillingMI>
              <BillingLastName>testy</BillingLastName>
              <BillingEmail>[email protected]</BillingEmail>
              <BillingPhone></BillingPhone>
              </BillingInformation>
              <BillingAddress><BillingAddress1>123 street</BillingAddress1>
              <BillingAddress2></BillingAddress2>
              <BillingAddress3></BillingAddress3>
              <BillingCity>test</BillingCity>
              <BillingStateProvince>Delaware</BillingStateProvince>
              <BillingPostalCode>70000</BillingPostalCode>
              <BillingCountryName>United States of America</BillingCountryName>
              </BillingAddress>


              </Patron>
              <TransactionDetail>
              <OrderNumber>1409291141416931111</OrderNumber>
              <TransactionID>2831729</TransactionID>
              <OrderMode>Live</OrderMode>
              <Tracker>web</Tracker>
              <Campaign></Campaign>
              <TransactionType>Live</TransactionType>
              <OrganizationID>25972</OrganizationID>
              <OrganizationName>TEST: KELL Partners 2</OrganizationName>
              <CurrencyCode>840</CurrencyCode>
              <AuthorizationCode>802521</AuthorizationCode>
              <WindowName>TEST: KELL Partners 2</WindowName>
              <WindowId>68259</WindowId>
              <GatewayTransactionNumber>54284399-886b-3000-0095-0003ba9896f7</GatewayTransactionNumber>
              <TotalCharge>1.00</TotalCharge>
              <TotalDue>1.00</TotalDue>
              <DeductibleCharge>1.00</DeductibleCharge>
              <DeductibleDue>1.00</DeductibleDue>
              <DiscountDue>0.00</DiscountDue>
              <DiscountCharge>0.00</DiscountCharge>
              <TaxAmountDue>0.00</TaxAmountDue>
              <TaxAmountCharge>0.00</TaxAmountCharge>
              <SurCharge>0.00</SurCharge>
              <ChargAmount>0.30</ChargAmount>
              <CouponCode></CouponCode>
              <TransactionDiscountDue>0.00</TransactionDiscountDue>
              <TransactionDiscountCharge>0.00</TransactionDiscountCharge>
              <TransactionTaxDue>0.00</TransactionTaxDue>
              <TransactionTaxCharge>0.00</TransactionTaxCharge>
              <TransactionDate>2014-09-29 11:41:41</TransactionDate>
              <TransactionTimeZone>2014-09-29 08:41:41</TransactionTimeZone>
              <UrlReferrer>https://kellpartners-sj--developer-edition.na9.force.com/donate</UrlReferrer>
              <VaultGUID>af4c52ce-3311-4e10-8397-46c7f1da4572</VaultGUID>
              <TransactionResult>Authorized</TransactionResult>
              <PaymentMethod>
              <PaymentType>Credit Card</PaymentType>
              <CreditCard>
              <NameOnCard>john smith</NameOnCard>
              <CardNumber>41111111</CardNumber>
              <CardName>VISA</CardName>
              <ExpirationDate>2001</ExpirationDate>
              </CreditCard>
              </PaymentMethod>


              </TransactionDetail>
              <OrderItemList>
              <OrderItem>
              <ItemID>1</ItemID>
              <ItemName>webtest</ItemName>
              <Quantity>1</Quantity>
              <UnitPriceCharge>1</UnitPriceCharge>
              <UnitPriceDue>1</UnitPriceDue>
              <UnitDeductibleCharge>1</UnitDeductibleCharge>
              <UnitDeductibleDue>1</UnitDeductibleDue>
              <TaxAmountCharge>0</TaxAmountCharge>
              <TaxAmountDue>0</TaxAmountDue>
              <DiscountCharge>0</DiscountCharge>
              <DiscountDue>0</DiscountDue>
              <SKU>DON</SKU>
              <CampaignName>Incline to Sand Harbor Bike Path</CampaignName>
              </OrderItem>


              </OrderItemList>
              </CnPTransactionData>
              Simon Jensen
              KELL Partners

              Comment


              • #8
                Simon,

                As discussed previously this issue was fixed in the latest update to the FaaS platform.

                We discovered an issue with the combination of words you were choosing for the Campaign which resembled a script. The filter has been modified to be less strict.

                Please let us know if we can be of any further assistance.
                Regards,
                Click & Pledge Support Department

                On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

                Join us @ the educational webinars: https://clickandpledge.com/webinars/
                Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
                Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

                Comment

                Working...
                X