Code Monkey home page Code Monkey logo

Comments (2)

remcotolsma avatar remcotolsma commented on August 26, 2024

For the Adyen web drop-in it would probably be nicer to move it to the WooCommerce checkout page so this is no longer an issue.

<div id="payment" class="woocommerce-checkout-payment">
	<ul class="wc_payment_methods payment_methods methods">

	</ul>

	<!-- Adyen web drop-in -->
</div>

https://github.com/woocommerce/woocommerce/blob/be041e0d386082644c17b59ddc406f7758302db2/plugins/woocommerce/templates/checkout/payment.php#L25-L37

No idea if this is possible, probably won't be easy, but might be the solution to this issue.

from wp-pronamic-pay-adyen.

rvdsteege avatar rvdsteege commented on August 26, 2024

That might also be an option, but moving the drop-in to the checkout page will probably also result in losing support for extensions such as Payment Gateway Based Fees.

@remcotolsma also mentioned adding a hidden field for Apple Pay support to the checkout form, which will then be included in the WooCommerce ajax action update_order_review, so we can filter available gateways server-side. The advantage in comparison to moving the drop-in to the checkout page, is that this approach will also function for the Apple Pay payment method through other supported gateways.

from wp-pronamic-pay-adyen.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.