Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions includes/class-paystack.php
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ public function receipt_page( $order_id ) {

echo '<p>Thank you for your order, please click the button below to pay with Paystack.</p>';

echo '<div id="paystack_form"><form id="order_review" method="post" action="'. WC()->api_request_url( 'Tbz_WC_Paystack_Gateway' ) .'"></form><button class="button alt" id="paystack-payment-button">Pay Now</button> <a class="button cancel" href="' . esc_url( $order->get_cancel_order_url() ) . '">Cancel order &amp; restore cart</a></div>
echo '<div id="paystack_form"><form id="order_review" method="post" action="'. WC()->api_request_url( 'Tbz_WC_Paystack_Gateway' ) .'"></form><button class="button alt" id="paystack-payment-button">Pay Now</button> <button class="button cancel"><a href="' . esc_url( $order->get_cancel_order_url() ) . '">Cancel order &amp; restore cart</a></button></div>
';

}
Expand Down Expand Up @@ -1137,4 +1137,4 @@ public function save_subscription_payment_token( $order_id, $paystack_response )

}

}
}