-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi @jissereitsma,
One of our clients is using your plugin and they have a checkout in which they default to one of the payments methods. It seems that the add_payment_info is only fired upon changing the selected payment method. Is there any option to check whether the add_payment_info event was fired when the "Place order" button is clicked and if the add_payment_info event was not fired yet, then fire it at that moment? Or... perhaps always default to firing the add_payment_info event when the "Place order" button is clicked so that the event will be only fired once and with the actual payment method that is being used?
Example of what the pre-selected checkout looks like:

It seems that the same applies to add_shipping_info. That event is only fired if the shipping method is actually changed, but if you use the preselected shipping method, no add_shipping_info event is fired when click to the next step in the checkout. Do you think it would be possible to hit two birds with one stone here?