Support » Plugin: WooCommerce Stripe Payment Gateway » Stripe buy now on checkout

  • Resolved csyecommerce

    (@csyecommerce)


    Hi,
    the buy now button works on basket but not on checkout page using

    add_filter( ‘wc_stripe_show_payment_request_on_checkout’, ‘__return_true’ );

    gets a payment failed yet works on basket page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support wpnomad

    (@wpnomad)

    Hi @csyecommerce ,

    the buy now button works on basket but not on checkout page using

    add_filter( ‘wc_stripe_show_payment_request_on_checkout’, ‘__return_true’ );

    gets a payment failed yet works on basket page?

    That’s odd. Are you getting any error message apart from “Payment failed” when you try to pay from the checkout page?

    If not, then please enable debug logging , then try placing an order by paying via the checkout page. If the error occurs, then copy the Stripe logs and send it to us in your response. You will find the logs at WP Admin → WooCommerce → Status → Logs

    Do let us know so we can help further.

    Hi, Thanks for your response.. no just “payment failed” must mentioned this it what i receive using apple pay.. but im aware that google pay is getting a similar response.

    There is nothing in the logs.. ive disabled for the moment but will try again later when site is not trading.

    My stripe account is being used on 2 sites, using the same details although they have separate webhook endpoints.

    Plugin Support wpnomad

    (@wpnomad)

    Hi @csyecommerce ,

    There is nothing in the logs.. ive disabled for the moment but will try again later when site is not trading.

    Make sure to try placing a test order after enabling the logging (so that the log will be recorded). If you get anything in the logs, then do send it to us here so we can check.

    Hi,

    There is logging information… but not for this error.. there are logs for previous days, but i have just done a text today and it didn’t log an error…

    Juts get a “payment not complete” message from apple pay… the reason I cant use it on the basket page is i have required checkout fields not related to customer address/account.. so attempted payments with apple pay on basket page get the 2 required fields missing message.. as you would expect but on checkout page there is nothing so it looks like its not attempting to process.

    screenshot

    thanks

    Plugin Support Mike S

    (@mikestraw)

    Hey @csyecommerce ,

    If the Stripe logging is enabled, it should definitely create logs for every transaction that’s attempted via Stripe. It triggers raw dumps of the information being saved.

    Can you confirm:

    That you’ve enabled Stripe debug logging under WooCommerce > Settings > Payments > Stripe > Logging.

    Stripe debug logs
    Link to image: https://d.pr/i/ne5Gq3

    And that you’re checking the Stripe logs under WooCommerce > Status > Logs You’ll need to select the logs starting with woocommerce-gateway-stripe and containing the date of the attempted orders. Click the View button to view them.

    Stripe logs
    Link to image: https://d.pr/i/hIF8cq

    Hopefully that helps!

    Plugin Support AW

    (@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 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.