{"id":13463911,"date":"2020-09-28T13:52:52","date_gmt":"2020-09-28T13:52:52","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/switch-between-payment-options-programmatically\/"},"modified":"2020-09-28T13:56:16","modified_gmt":"2020-09-28T13:56:16","slug":"switch-between-payment-options-programmatically","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/switch-between-payment-options-programmatically\/","title":{"rendered":"Switch between payment options programmatically"},"content":{"rendered":"<p>Hello,<br \/>\nIs there any action\/filter I can use to switch between these two payment actions  programmatically for specific orders: https:\/\/prnt.sc\/upc13l<br \/>\nFor example native WP Paypal has this filter &#8216;woocommerce_paypal_args&#8217; that can be used to change the Payment actions either to Capture or Authorize in code.<\/p>\n","protected":false},"template":"","class_list":["post-13463911","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13463911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":3,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13463911\/revisions"}],"predecessor-version":[{"id":13463931,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13463911\/revisions\/13463931"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13463911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}