< Back to API Documentation

Initiating an Order Refund

You can initiate an order refund by using the following code:

$order = new PRC_Order( $order_id );

$order->issue_refund( $refund_amount ); // The argument is the refund amount in dollars 50.00, 120.00, etc.

Leave a Comment