I gang

nodejs bot with wordpress integration

Already claimed by a user. Thank you.

If !claim ####

If orderid doesnt exist or if 0
echo bad order id

If they only type !claim with no numbers
echo order id didnt match

If order is already marked completed
echo Order has been completed already

If status boosting
Order has been claimed already.

If they already have an order claimed
echo "You may only claim one order at a time. You currently have order ". $current_boosting_order . " claimed."

If they dont have an order claimed

If order status is failed, on-hold, pending or refund
echo order status is (what ever order status is)

add mark to database so users are marked with a claimed order
updateoption("discord" . $_POST['author_id'], $message[1]);

set the order status to "boosting"

echo current order status
echo orderid
echo private field billing_username
echo private field billing_password
echo private field billing_gamertag
echo order notes

Else Order Id Missing(edited)
If they type !complete or !completed

If they dont have an order claimed
echo You have currently no orders claimed

mark order complete in woocommerce for current order number

Add a plus one in the database spot:
$op = get_option("discord_totalcount" . $_POST['author_id'], 0);
update_option("discord_totalcount" . $_POST['author_id'], $op+1);

delete token stopping user from claiming so they can claim again
$author = deleteoption("discord" . $_POST['author_id']);(edited)
Updated first section, left some stuff out

------------------

Moving attached file to nodejs in its entirety

Evner: Angular.js, Javascript, node.js, PHP, WordPress

Se mere: dialogflow ui, javascript chatbot source code, dialogflow api, nodejs chat bot, dialogflow wordpress, wordpress plugin for chat bot, chatbot wordpress integration, apiai, smf wordpress integration user login, wordpress integration script, wordpress integration dreamweaver site, wordpress integration social engine, buddypress wordpress integration, portal servers wordpress integration, wordpress plugin sign registered user, amember wordpress integration, wordpress wp_options corrupt admin user, phpizabi wordpress integration

Om arbejdsgiveren:
( 3 bedømmelser ) reidsville, United States

Projekt ID: #17982565

Tildelt til:

abhishrantmajhi

Hello, This has to be 100 characters so I will start the project as we discussed, I will create a nodejs server that will listen to woocommerce's new orders and accordingly allow users to claim the orders. Thank Flere

$50 USD in 7 dage
(0 bedømmelser)
0.0

5 freelancere byder i gennemsnit $177 på dette job

sapotacorp

Dear GCSkye! After carefully reviewing the experience requirements for the job description, we feel that we are suitable for the job I'm #1 WordPress Vietnam in here.. Our WordPress's projects: [login to view URL] Flere

$228 USD in 6 dage
(1001 bedømmelser)
8.7
hawkscodeau

Hi, I can start work on your project immediately once you confirm me and i am also open for further discussion if you want. I have 8+ years in web design & development with good experience in following skills ... Flere

$200 USD in 3 dage
(17 bedømmelser)
6.4
developersperhr

I am expert in wordpress and woocommerce . I have performed various customization in woocommerce. I have checked your logic and I can build up this logic via node in wordpress.

$200 USD in 3 dage
(22 bedømmelser)
4.5
creativesoft7

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned "I can do Flere

$208 USD in 7 dage
(0 bedømmelser)
0.0