• Resolved Brad Dalton

    (@wordpresssites)


    Will this work with the single event post type for Apple and Google Pay?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Is that not a regular WooCommerce product page? Once the order now button is clicked it seems to behave like a normal product type since it’s added to the cart.

    Thread Starter Brad Dalton

    (@wordpresssites)

    Single event post type requiring addition of Apple and Google pay buttons.

    single-event_listing

    • This reply was modified 4 months, 1 week ago by Brad Dalton.
    Plugin Author Payment Plugins

    (@mrclayton)

    The wallet based payment method buttons are designed to work on product pages since certain product specific actions like woocommerce_after_add_to_cart_button and woocommerce_before_add_to_cart_button are used to output HTML and JSON data.

    The global object $product must exist in order for the buttons to render. With some customization you could probably get it to work but it seems easier to just use a product since that’s how WooCommerce is designed.

    Kind Regards

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