realbig / theme_pmwoodwinds

1 stars 0 forks source link

Can we add in a tool that pauses payment by bank transfer until Paul approves the transaction? #4

Closed BigActual closed 5 years ago

BigActual commented 5 years ago

Inventory has to be checked manually to make sure the horn was not sold in store. image

BigActual commented 5 years ago

I installed a plugin that sets up conditional payments. Perhaps an extension that adds another Condition to the dropdown.

d4mation commented 5 years ago

I think actually that https://woocommerce.com/products/woocommerce-order-status-control/ may solve the problem more elegantly. Ideally, I'd just hook into this to add an option to only set orders into a Pending Status for that Payment Gateway.

d4mation commented 5 years ago

^ We will need the above plugin purchased to handle this in the cleanest possible way.

d4mation commented 5 years ago

This has not been tested, as I'm not sure the best way to test something specific to a gateway like this (the code is specific to the Bank Transfer gateway, so a Test Gateway itself may not work). But the code is simple enough, that it should be fine. May be worth testing with a test product worth a couple dollars and making a real transaction though to ensure it goes into pending status.

BigActual commented 5 years ago

Will it capture, but not process the bank transfer data? Checking.

d4mation commented 5 years ago

I am not sure if it will, since it gets put into a "pending" status which seems to happen after WooCommerce has processed payment, unfortunately. I based this off the code that https://woocommerce.com/products/woocommerce-order-status-control/ uses which I believe would have had the same problem.

BigActual commented 5 years ago

Did you find a solution to this in: https://wordpress.org/plugins/woo-product-request/

d4mation commented 5 years ago

I have not had a chance to look into it yet.

BigActual commented 5 years ago

I have a free half hour I'll start looking at it but may need to just leave notes and have you pick it up Monday.