Announcement

Collapse
No announcement yet.

WooCommerce gateway breaks admin-ajax checkout with style tag in JSON output

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

  • WooCommerce gateway breaks admin-ajax checkout with style tag in JSON output

    The current version of the WooCommerce Click & Pledge Gateway WordPress plugin breaks admin-ajax checkout processing.

    If a browser sends an admin-ajax purchase request to WooCommerce using javascript, the Click & Pledge gateway is loaded to process the purchase. The plugin's initialization process outputs a style tag. When WooCommerce attempts to return a JSON response with the result of the checkout, this style tag breaks processing and can cause WC to treat the transaction as a failure.

    See line 205 of the gateway-clickandpledge.php file's init_form_fields method.

    https://plugins.trac.wordpress.org/b...ledge.php#L205

    We locally modified our copy of the plugin to remove this style tag and fix the checkout process. Please remove the style tag output from the plugin and release an update.

  • #2
    Good day harmoney

    Thank you for the note. We have forwarded this to the team and will review it shortly.

    Always love to see posts that include the solution. thank you again.. we will update this post as soon as our team has reviewed it.
    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


    • #3
      Good day @harmoney

      One of our developers reviewed and found NO issues with all versions. Would you please share what error message you see?

      Also, 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.
      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