• Resolved jeffnissen

    (@jeffnissen)


    I’ve gone to paypal and acquired and entered in the appropriate sandbox API credentials, as well as activated Sandbox, but I’m getting this error after clicking the submit button on the live site: A payment error has occurred, looks like chosen payment method is not responding. Please try again later.

    The site is http://www.wildnoise.org/register

    I’ve also installed Core Control and here is the report I get:

    Manage Transports

    Transport Status Actions
    cURL Available Disable Transport | Test Transport
    PHP Streams Available Disable Transport | Test Transport
    PHP fsockopen() Available Disable Transport | Test Transport

    HTTP Related Constants

    Constant Value
    WP_HTTP_BLOCK_EXTERNAL Undefined
    WP_ACCESSIBLE_HOSTS Undefined
    WP_PROXY_HOST Undefined
    WP_PROXY_PORT Undefined
    WP_PROXY_USERNAME Undefined
    WP_PROXY_PASSWORD Undefined
    WP_PROXY_BYPASS_HOSTS Undefined

    HTTP Related Filters

    Note: Some of these can be affected by plugins, and may cause unexpected side effects. The use_* set of filters is affected by disabling transports above for example.

    Filter Default Value Current Value
    http_request_timeout 5 5
    http_request_redirection_count 5 5
    http_request_version ‘1.0’ ‘1.0’
    http_headers_useragent ‘WordPress/3.8.1; http://www.wildnoise.org’ ‘WordPress/3.8.1; http://www.wildnoise.org’
    block_local_requests false false
    use_fsockopen_transport true true
    use_streams_transport true true
    use_curl_transport true true
    https_local_ssl_verify true true
    https_ssl_verify true true

    https://wordpress.org/plugins/camptix/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter jeffnissen

    (@jeffnissen)

    I noticed a few hours ago you closed my post on your other support as a duplicate. Just heads up, I still need assistance. I’m currently on line with my hosting provider to see if they have any solutions, but it’s not looking to be so.

    Plugin Author Ian Dunn

    (@iandunn)

    That error message is actually a little misleading; it’s triggered whenever the initial connection to the payment gateway fails, which could be for several reasons.

    I was able to reproduce this on my sandbox and, at least for me, PayPal is returning a 403 response.

    <HTML><HEAD>
    <TITLE>Access Denied</TITLE>
    </HEAD><BODY>
    <H1>Access Denied</H1>
    
    You don't have permission to access "http://api-3t.sandbox.paypal.com/nvp" on this server.<P>
    </BODY>
    </HTML>

    It sounds like there may have been some recent changes to their sandbox API or infrastructure. I’ll look into it further.

    Plugin Author Ian Dunn

    (@iandunn)

    Yup, that was it. They’ve updated their sandbox infrastructure to require HTTP 1.1, in preparation for requiring it in production on November 1st.

    WordPress defaults to sending HTTP 1.0, but we can override that for CampTix. I just need to do a bit more research to make sure there won’t be any side effects or compatibility issues.

    In the mean time, you can add this code to a functionality plugin if you’d like to get it working immediately:

    // http://wordpress.org/support/topic/sandbox-error-a-payment-error-has-occurred?replies=3#post-5379839
    add_filter( 'http_request_version', 'use_http_1_1' );
    function use_http_1_1( $httpversion ) {
    	return '1.1';
    }
    Thread Starter jeffnissen

    (@jeffnissen)

    Thank you for digging into this so thoroughly. Will the ultimate solution be an update to the plugin?

    Thread Starter jeffnissen

    (@jeffnissen)

    I created and installed the functionality plugin and I’m no longer getting the error, but after clicking ‘submit’ I’m taken to a blank “REGISTER” page for my site. This then creates a “Draft” under the attendees page of the plugin. I’m not taken to Paypal in order to mimic a purchase. Am I missing something else?

    Plugin Author Ian Dunn

    (@iandunn)

    Version 1.4.1 is out now.

    Can you take a screenshot of the blank register page? That might help me understand what’s going on with it.

    Thread Starter jeffnissen

    (@jeffnissen)

    Sure thing. The link below will show you where I land after clicking the submit button on the form.

    45creative.com/dl/register-page.png

    Plugin Author Ian Dunn

    (@iandunn)

    Can you try temporarily disabling all your other plugins and switching to the Twenty Fourteen theme, and then check if it still happens?

    If it does, switch to your theme and check again; then turn the plugins on one-by-one until you find the one that’s causing the conflict.

    Thread Starter jeffnissen

    (@jeffnissen)

    Will do. While I’m doing that, I wanted to let you know that the functionality plug-in I created for the temporary fix causes my admin log-in page to come up blank. As soon as I removed the plug-in from the server I was able to log in. Just a heads up for what it’s worth.

    Thread Starter jeffnissen

    (@jeffnissen)

    It appears the update you released for the plug-in is working well. I’ve been able to test successfully since updating.

    Plugin Author Ian Dunn

    (@iandunn)

    Glad to hear it 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Sandbox Error: "A payment error has occurred …"’ is closed to new replies.