Closed biligunb closed 2 years ago
Webhook -> Payment complete
public function webhook() {
// $order = wc_get_order( $_GET['id'] );
$order = wc_get_order(47);
$order->payment_complete();
print_r('order');
print_r($order);
update_option('webhook_debug', $_GET);
}
@ekhishigee
Is your feature request related to a problem? Please describe.