WordPress Payment Gateway Plugin customised
Question
When I run this, it’s not updating the payment status to the existing booking.
Are there any error in this code.
$order_id, ‘payment_method’ => __(‘PayHere’,’sohohotel_booking’), ‘amount_paid’ =>$payhere_amount );
shb_update_booking_payment($data);
// Send booking emails
shb_send_confirmation_email($order_id,’customer_payment_confirmation’);
shb_send_confirmation_email($order_id,’admin_payment_confirmation’);
?>
0
1 month
0 Answers
11 views
0
Leave an answer
You must login or register to add a new answer .