• Resolved cilantroru

    (@cilantroru)


    I have a product with 2 variations. When I try to enable Stripe Apple Pay all the page just stuck. On single product it still works, but Apple Pay button doesn’t show up. I’ve checked the console, seems something wrong with Stripe API or handling of the country code. Or my country haha)

    Any chance this could be fixed?

    swsales-tracking.js?ver=5.5.1:55 Object
    ?ver=3.0:1 Uncaught 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: UA.
        at new r (https://js.stripe.com/v3/?ver=3.0:1:6143)
        at re (https://js.stripe.com/v3/?ver=3.0:1:15579)
        at pe (https://js.stripe.com/v3/?ver=3.0:1:16063)
        at new Ro (https://js.stripe.com/v3/?ver=3.0:1:89143)
        at fi (https://js.stripe.com/v3/?ver=3.0:1:120937)
        at pc.<anonymous> (https://js.stripe.com/v3/?ver=3.0:1:187068)
        at pc.paymentRequest (https://js.stripe.com/v3/?ver=3.0:1:24939)
        at Object.startPaymentRequest (https://rebbll.com/wp-content/plugins/woocommerce-gateway-stripe/assets/js/stripe-payment-request.min.js?ver=4.5.2:1:5282)
        at Object.init (https://rebbll.com/wp-content/plugins/woocommerce-gateway-stripe/assets/js/stripe-payment-request.min.js?ver=4.5.2:1:11739)
        at HTMLDocument.<anonymous> (https://rebbll.com/wp-content/plugins/woocommerce-gateway-stripe/assets/js/stripe-payment-request.min.js?ver=4.5.2:1:11786)
    DevTools failed to load SourceMap: Could not load content for https://rebbll.com/wp-content/plugins/tutor/assets/packages/plyr/plyr.polyfilled.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load SourceMap: Could not load content for https://rebbll.com/wp-content/plugins/tutor/assets/css/tutor-front.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load SourceMap: Could not load content for https://rebbll.com/wp-content/plugins/iconpress-lite/lib/integrations/common/css-source-maps/styles.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @cilantroru,

    The error message you’ve posted is indicating an unsupported country code of UA is being used. You can see the supported country codes within this portion of the error message below.

    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: UA.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Apple Pay btn doesn’t show up’ is closed to new replies.