Announcement

Collapse
No announcement yet.

Merge Tag for Recurring Payments shows entire database entry instead of regular text

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

  • Merge Tag for Recurring Payments shows entire database entry instead of regular text

    Gravity Forms 2.4.6
    Gravity Forms Click & Pledge 3.700.005

    We have a form that is working correctly with payments coming through to the Click & Pledge account. When setting up the email notification though for the Recurring Payment field, it's dumping a whole database entry instead of just the title of the field which is One Time Only

    This is what we have in the Gravity Form Notification message template (bolding added to highlight problem field):
    <strong>Your Donation:</strong>
    Donation Date:{date_dmy}
    Amount: {Total:12}
    Payment Method: {Payment Method:13}
    Payment Type: {Recurring Payments:3}

    This is the actual output in the email:
    Your Donation:
    Donation Date:25/02/2019
    Amount: $25.00
    Payment Method: Credit Card
    Payment Type: a:1:{s:10:"OnetimeSKU";s:13:"One Time Only";}
    The same thing happens when we use the {all_fields} merge tag:
    Recurring Payments
    a:1:{s:10:"OnetimeSKU";s:13:"One Time Only";}
    Name
    Test Test


    Here is a screenshot of the actual form field:



    And the form field in edit view:


    How do we get it to just print the value One Time Only instead of the whole database entry? Any help is much appreciated.

  • #2
    Update:

    Troubleshooting on a staging server. This seemed to fix it although its editing plugin files diretly. in the class.GFCnpRecurringField.php line 384:

    we changed it from:

    } else {
    //$_POST["input_{$field['id']}"] = 'Simple Payment';
    }


    to:
    } else {
    //$_POST["input_{$field['id']}"] = 'Simple Payment';
    $_POST["input_{$field['id']}"] = 'One Time Payment';
    }


    so in the original code that line was commented out

    Comment


    • #3
      Good day @olywebdev

      We see that you have submitted the support ticket#79669 regarding the above issue. My appologize, per your last post, I thought the issue was resolved. However, the forum is the best place to post all third party/plugins issues and this is only and fastest way to get a response and to work directly with our developers.

      If you please submit a support ticket at http://help.clickandpledge.com with FTP and admin login details as well as the website URL so we can review your entire configuration. Include the link to this post in the ticket for reference.

      Please let us know when you have submitted the ticket. Do not post the requested information in this forum as this is a public forum.

      Looking forward to hearing back from you.
      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
        Good day @olywebdev

        We reviewed your instance and noticed that you have updated the code and it is working fine now. We have also released the patch by uncommented that line: https://forums.clickandpledge.com/fo...-1-gf-v2-4-6-1

        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