• Resolved feelpeak

    (@feelpeak)


    Hi there. We’re working on launching a subscription-based service on our website, but we’re having trouble getting PayPal payments to work.

    We did some testing a month ago with this plugin (version 1.6.1) and it worked, although some parts of it were very buggy and offered poor feedback to the user when something went wrong, so we decided to put it on the backburner for a bit.

    Now that two significant updates have been released, we’re trying it out again (version 1.6.3). Unfortunately, we can’t even successfully make a payment now.

    When selecting the United States as the user’s country, the checkout page displays this error message: “Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.”

    Despite the error message, it still shows the three PayPal/Venmo buttons (we only want one; how do we turn those other two off?), so the PayPal (sandbox) popup window can still successfully be opened. However, after paying for the order, WooCommerce displays this error message at the top of the screen: “Invalid payment method.”

    In the console, we get these two error messages:

    CreditCardRenderer.js?387a:43

    Uncaught TypeError: Cannot read properties of null (reading 'style')
        at CreditCardRenderer.render (webpack-internal:///964:935)
        at Renderer.render (webpack-internal:///964:836)
        at CheckoutBootstap.render (webpack-internal:///964:738)
        at CheckoutBootstap.init (webpack-internal:///964:700)
        at bootstrap (webpack-internal:///964:1284)
        at HTMLScriptElement.eval (webpack-internal:///964:1305)

    b.sbox.stats.paypal.com/v2/counter.cgi?p=uid_fc8184cebc_mte6mde6mty&s=SMART_PAYMENT_BUTTONS:1

    Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

    Reproduction steps:
    1. Go to https://redesign.feelpeak.com/shop
    2. Under “Online Personal Training 1 Month”, click “Sign up now”
    3. You will be redirected to https://redesign.feelpeak.com/checkout/
    4. Enter a name, country, and email address
    5. Click the PayPal button and “pay” for the order using a PayPal sandbox account
    6. The PayPal popup will close and “Invalid payment method.” will appear at the top of the checkout page.

    Any idea what might be causing that error? We told it to allow payments from all countries, so I’m not sure what the issue could be, and the error message doesn’t offer much help in the way of what we need to adjust.

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

Viewing 1 replies (of 1 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @feelpeak,

    Can you please check if the Vaulting setting is enabled?
    I would expect a different message in the checkout, but it currently appears to be disabled either way. It’s a bit strange that the smart button appears on the single product page or the cart anyway as it should not for guests in the latest plugin version.
    Generally, the subscription functionality is only active when the Vaulting feature has been enabled in the plugin.
    When Vaulting is active, all alternative payment methods such as Venmo will automatically be disabled. Otherwise, without Vaulting you shouldn’t be able to purchase any subscription products.

    Please let us know how it works with Vaulting enabled. Thanks!

    Kind regards,
    Niklas

Viewing 1 replies (of 1 total)

The topic ‘Subscriptions+PayPal not working’ is closed to new replies.