• Resolved horacio369

    (@horacio369)


    Plugin version 1.5 does not redirect to paypal either with method 1 or method 2.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Scott Paterson

    (@scottpaterson)

    Hi @horacio369,

    Can you please contact me at: https://wpplugin.org/contact/ – I am not sure what the problem is and I want to look into it more.

    Thanks,
    Scott

    Thread Starter horacio369

    (@horacio369)

    I opened a support ticket on that contact page

    Thread Starter horacio369

    (@horacio369)

    Problem fixed. Now the integration with Paypal works perfectly. Great support. Thank you Scott and keep up the great work.

    I’m having the same problem. Since the update, it doesn’t link to PayPal after filling out the form.

    I’m also seeing this, getting an error as follows (some elements of the path are redacted):

    Fatal error: Uncaught Error: Call to a member function get_status() on null in /######/wp-content/plugins/contact-form-7/includes/contact-form.php:687 Stack trace: #0 /######/wp-content/plugins/contact-form-7/includes/controller.php(14): WPCF7_ContactForm->submit() #1 /######/wp-includes/class-wp-hook.php(286): wpcf7_control_init(Object(WP)) #2 /######/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /######/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #4 /######/wp-includes/class-wp.php(373): do_action_ref_array(‘parse_request’, Array) #5 /######/wp-includes/class-wp.php(713): WP->parse_request(”) #6 /######/wp-includes/functions.php(960): WP->main(”) #7 /######/wp-blog-header.php(16): wp() #8 /######/index.php(17): require(‘/######…’) #9 {main} thrown in /######/wp-content/plugins/contact-form-7/includes/contact-form.php on line 687

    The form submits, emails are sent, but the user is shown the error above rather than redirecting to PayPal. The forms submit as expected if I deactivate Contact Form 7 – PayPal & Stripe Add-on.

    Quick update. Rolling back to v1.4.3 (pre Stripe) makes everything work again.

    Plugin Author Scott Paterson

    (@scottpaterson)

    Hi @davemacd,

    The errors that you posted are all from Contact Form 7.

    
    Fatal error: Uncaught Error: Call to a member function get_status() on null in /######/wp-content/plugins/contact-form-7/includes/contact-form.php
    

    Those are not related to the PayPal & Stripe plugin.

    I am aware that the errors are being thrown by files in CF7. However, deactivating PayPal & Stripe plugin fixes them, and rolling back to a previous version of PayPal & Stripe fixes them.

    Also, the complete functionality of CF7 works: user submissions are validated, emails are sent. The error occurs when redirecting to PayPal (which is why I posted here). I think something in the way PayPal & Stripe plugin calls CF7 functions is causing the problem. Yes, CF7 is not handling the error gracefully; but, the problem is with PayPal & Stripe plugin.

    • This reply was modified 7 years, 1 month ago by davemacd.
    Plugin Author Scott Paterson

    (@scottpaterson)

    Hi @davemacd,

    I can’t replicate your issue and I am not having any other users with this problem.

    Can you show me an error message created by my plugin? What PHP version are you using?

    Thanks,
    Scott

    @scottpaterson

    As I said above, the error is coming from CF7 because of a way your plugin is calling a function. I believe based on the line number and the steps to reproduce the error, it is in a way that your plugin uses CF7’s submit function in contact-form-7/includes/contact-form.php.

    The site in question is using PHP version 7.0.

    EDIT: The line number in the error code above is off a little bit because I had tried rolling back to an earlier version of CF7 as well. Currently, I get the same error in reference to line 715.

    • This reply was modified 7 years, 1 month ago by davemacd.

    @scottpaterson

    To reiterate, everything about CF7’s functionality behaves as expected. The form still creates and sends the email successfully. The error is thrown when your plugin attempts to redirect to PayPal. Which to me is another indication that it has something to do with the submit function call.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Not redirecting to Paypal’ is closed to new replies.