azerothcore / azerothcore/acore-cms

Manually processing an order with non-instant payment gateway

Open
#12 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
78
Forks
43
Avg merge
13m
Merged PRs (30d)
1

Description

Dear Contributers of this CMS.

If I order an item in Woocommerce with an instant payment method (Paypal for example) everything works fine, the items in this order will send out to the ingame-character, when the payment was succesfull.

But If I am using a non-instant payment gateway (lets say bank tranfer), where I as an admin manually have to proceed the order via admin-panel the items will not send out when I change the order status in the admin panel.

Is this indented to work like this? I mean is a feature for these gateways implemented? Or do I have to do something else.

**_How to reproduce the issue:_**
Active Plugins: _Woocommerce V 4.8/ AzerothCore Wordpress Integration V 0.1_
Woocommerce Payment Gateway: _Direct bank transfer_

Step 1: Order an Item (SKU can be anything for example itemsend_43599) price has to be greater than zero otherwise (free product) the payment gateway (direct bank tranfer) is not being used.

Step 2: After the order is placed. The order status goes to "on hold" because you are awaiting a payment that you as an admin manually has to verify.

Step 3: If you now manually change the order-status to "processing" or "completed" the items will not send out to the ingame-characters.

Best Regards
Jake

---
Want to back this issue? **[Post a bounty on it!](https://app.bountysource.com/issues/95339531-manually-processing-an-order-with-non-instant-payment-gateway?utm_campaign=plugin&utm_content=tracker%2F182917716&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://app.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F182917716&utm_medium=issues&utm_source=github).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Direct bank transfer flow in WooCommerce: place a paid order, leave it on hold, then change it to processing or completed in the admin panel. Trace the ACore CMS order-status handling and verify that the order's items are sent to the in-game character after manual approval, matching the instant-payment behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, payments
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.