Support » Plugin: WooCommerce Stripe Payment Gateway » Stripe Gateway disables Product variants

  • Resolved benjaminmresnick

    (@benjaminmresnick)


    When I have the stripe gateway enabled, the woocommerce product variants don’t work: 1 on the product page, the price doesn’t update to the selected variant (still shows a range of all variant prices) 2 when added to cart, it adds the default variant and not the selected variant.

    It looks like someone else had this problem (https://wordpress.org/support/topic/stripe-google-chrome-payment-issue/) and solved it by changing some code (https://github.com/woocommerce/woocommerce-gateway-stripe/issues/1138), but I don’t know how to fix it myself. And if it was fixed, I don’t understand why WooCommerce hasn’t yet updated their code.

    Please help!

    For now I have disabled stripe gateway, so customers can order – but that means you can’t currently see the problem.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @benjaminmresnick

    And if it was fixed, I don’t understand why WooCommerce hasn’t yet updated their code.

    The details you linked to were included in the plugin version back in March but that’s not to say they are the same issue.

    The linked issue was with Google Pay, one of the Payment Request buttons – is this the same scenario you were experiencing?

    Do you have a staging site you can test this with? If you are able to provide me a CSV export of the product you are testing with, I can import that into a test site of my own and try to reproduce this.

    Thanks,

    You can see the difference between how this product acts on the live site vs staging: on the live site I have stripe gateway disabled, and the product variants work correctly (easiest to see when the product page updates pricing).
    On the staging site I enabled stripe gateway so it’s stuck on the default variant.

    https://www.yaelharrisresnick.com/product/earth-air-fire-water-set-giclee-and-poster-print-copy/

    https://staging.yaelharrisresnick.com/product/earth-air-fire-water-set-giclee-and-poster-print-copy/

    Plugin Support zdenys

    (@zdenys)

    Thank you for the links, @benjaminmresnick. On the staging site, when I try to change the variations I can indeed see that no price is being displayed.

    At the same time, in Chrome console I can see the following error:

    
    IntegrationError: Invalid value for paymentRequest(): country should be one of the following strings: AE, AT, AU, BE, BG, BR, CA, CH, CI, CR, CY, CZ, DE, DK, DO, EE, ES, FI, FR, GB, GR, GT, HK, HU, ID, IE, IN, IT, JP, LT, LU, LV, MT, MX, MY, NL, NO, NZ, PE, PH, PL, PT, RO, SE, SG, SI, SK, SN, TH, TT, US, UY. You specified: IL.
    

    When I check https://stripe.com/global I can see that Israel (which stands for IL above) is not among the countries that Stripe supports. You can sign up there and be notified once and if it becomes available.

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.