Validate custom plugin for an order with pending payment. If pending payment changed to processing, we execute some code

Cerrado Publicado hace 3 años Pagado a la entrega
Cerrado Pagado a la entrega

We built a plugin that sends a JSON object to our POS via API.

By using the New Order webhook, we are able to achieve what we needed.

Now, we need a way to validate that the order has actually been paid.

We receive payments via a credit card gateway, and once the payment is complete, the order changes its status from "Payment pending" to "processing".

Once the order does this, we should send the JSON object.

We tried using the is_paid() function, which works great before sending the order, but the problem is sending the JSON object once the payment is completed after it has failed before.

PHP MySQL WooCommerce API

Nº del proyecto: #26860112

Sobre el proyecto

2 propuestas Proyecto remoto Activo hace 3 años

2 freelancers están ofertando un promedio de $125 por este trabajo

sonaphp247

Hi there, I would love to work on your project with the strong skills needed for the project. Pillars we work with: 1. Commitment 2. Quality However I have to clarify few more questions which can be discussed to ge Más

$150 USD en 7 días
(28 comentarios)
4.3
yakacj

Hello, Your project description really caught my attention. I'm extremely interested in your project because of it's related to woocommerce. I am very confident to fullfill your requirement asap. I'm an expert in makin Más

$100 USD en 1 día
(4 comentarios)
3.0