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
Sajeevan Nithiyananthan 8 months 2020-12-05T15:10:44-05:00 0 Answers 11 views 0

Leave an answer

Browse
Browse