Apple Pay payment method issue
-
Hi,
I have Stripe working, added the live api details etc… and its accepting live payments.
However, when I enable Apple Pay, on the checkout page I get “IntegrationError: Please call Stripe() with your publishable key. You used an empty string.”
Ive registered the domain and followed the instructions etc…
Looking at the checkout code I can see:
<script> var wc_stripe_applepay_cart_params = {"gateway_id":"stripe_applepay","api_key":"","saved_method_selector":"[name=\"stripe_applepay_saved_method_key\"]","token_selector":"[name=\"stripe_applepay_token_key\"]","messages":{"terms":"Please read and accept the terms and conditions to proceed with your order.","required_field":"Please fill out all required fields.","invalid_amount":"Please update you product quantity before using Apple Pay.","choose_product":"Please select a product option before updating quantity."},"routes":{"setup_intent":"\/shop\/?wc-ajax=wc_stripe_frontend_request&path=\/wc-stripe\/v1\/setup-intent","sync_intent":"\/shop\/?wc-ajax=wc_stripe_frontend_request&path=\/wc-stripe\/v1\/sync-payment-intent","add_to_cart":"\/shop\/?wc-ajax=wc_stripe_frontend_request&path=\/wc-stripe\/v1\/cart\/add-to-cart","cart_calculation":"\/shop\/?wc-ajax=wc_stripe_frontend_request&path=\/wc-stripe\/v1\/cart\/cart-calculation","shipping_method":"\/shop\/?wc-ajax=wc_stripe_frontend_request&path=\/wc-stripe\/v1\/cart\/shipping-method","shipping_address":"\/shop\/?wc-ajax=wc_stripe_frontend_request&path=\/wc-stripe\/v1\/cart\/shipping-address","checkout":"\/shop\/?wc-ajax=wc_stripe_frontend_request&path=\/wc-stripe\/v1\/checkout","checkout_payment":"\/shop\/?wc-ajax=wc_stripe_frontend_request&path=\/wc-stripe\/v1\/checkout\/payment"},"rest_nonce":"3a38d4d0f0","banner_enabled":"","currency":"GBP","total_label":"Total","country_code":"GB","user_id":"1","button":"<button class=\"apple-pay-button apple-pay-button-black\" style=\"-apple-pay-button-type:plain\"><\/button>"}; </script>
So that shows the api key as being empty? (Hence the error messsage).
Why wold this be? Everything (as far as Im aware) is setup correctly.
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Apple Pay payment method issue’ is closed to new replies.