• Resolved Laurent-ma

    (@laurent-ma)


    Hi,

    I notice a strange behavior. When I click on Apple Pay button, it’s bypass the terms and conditions check form.

    How can I resolve that because with the french law how have to validate the terms and conditions.

    Regards,
    Laurent

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Laurent-ma

    (@laurent-ma)

    It’s me again !
    So nobody got this bug?

    Plugin Contributor royho

    (@royho)

    This is not a bug. The conditions of using Apple Pay or any express type payments like PayPal Express WILL by pass checkout fields.

    Thread Starter Laurent-ma

    (@laurent-ma)

    thank you for your reply,

    So I have a problem because in France It is mandatory that the customer can validate the terms and conditions. If I do not do this, I risk a fine of 3000 € minimum!

    There is really nothing to do for me to be in rule?

    Laurent

    • This reply was modified 6 years, 9 months ago by Laurent-ma.
    Plugin Contributor royho

    (@royho)

    For those cases, I would suggest not to use any “express” type payments. Can you not have a TOS in the footer of the site and in there state that “By using this website, you agree to our terms & conditions”…etc?? This is what we do in the United States.

    Thread Starter Laurent-ma

    (@laurent-ma)

    Before yes it was good but now it’s not good enough now to do that. The customer must himself click on the box: ‘I accept the terms …’
    But I have an idea, I can maybe put a restricted content on the payment page to force the customer to click … maybe

    Just a question : How can I disabled Apple Pay button on the cart Page ?

    • This reply was modified 6 years, 9 months ago by Laurent-ma.
    Plugin Contributor royho

    (@royho)

    You mean turn off all together or just the cart page?

    Thread Starter Laurent-ma

    (@laurent-ma)

    Just for the cart page

    Thread Starter Laurent-ma

    (@laurent-ma)

    Hi Royho,

    Can you give me the code ?

    I suppose it’s something like that :

    add_filter( 'wc_stripe_hide_payment_request_on_page_cart', '__return_true' );

    But this doesn’t works ??

    Laurent

    Plugin Contributor royho

    (@royho)

    We don’t have any hooks for that page if I remember correctly. Only to hide it on single product page and to show it on checkout page.

    Thread Starter Laurent-ma

    (@laurent-ma)

    OH Ok,

    So I have had CSS in my child theme to disabled the Apple Pay in cart page. Works Fine.

    Another question. This code doesn’t seem to works anymore :

    /*
     * Removes Apple Pay button on the checkout page.
     */
    remove_action( 'woocommerce_checkout_before_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_button' ), 1 );
    remove_action( 'woocommerce_checkout_before_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_separator_html' ), 2 );
    /*
     * Adds Apple Pay button on the checkout page, below customers details, and inverse button/separator order.
     */
    add_action( 'woocommerce_checkout_after_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_separator_html' ), 1 );
    add_action( 'woocommerce_checkout_after_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_button' ), 2 );

    Do you know why ?

    Laurent

    • This reply was modified 6 years, 9 months ago by Laurent-ma.
    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi there @laurent-ma

    Did you get this resolved elsewhere?

    > Another question. This code doesn’t seem to works anymore :

    The reason for this is those actions have been replaced. There isn’t a “Apple Pay” specific one anymore.

    You can see full details on the Stripe documentation starting here – https://docs.woocommerce.com/document/stripe/#section-21

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

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Apple Pay bypass terms and conditions’ is closed to new replies.