Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Hotel Booking WooCommerce Payments Problems with data transfer to WooCommerce and payment history.
- This topic has 16 replies, 4 voices, and was last updated 2 years, 10 months ago by J. Davis.
- AuthorPosts
- February 3, 2021 at 5:57 am #1068986Mathieu DorvalParticipant
The billing information on the pages in the payment history is empty.
And, with Woocommerce REST API, we only get an email address:
“billing”: {
“first_name”: “”,
“last_name”: “”,
“company”: “”,
“address_1”: “”,
“address_2”: “”,
“city”: “”,
“state”: “”,
“postcode”: “”,
“country”: “”,
“email”: “[email protected]”,
“phone”: “”
},After checking the code of your plugin, the addPaymentToWooCart function should return the information on WooCommerce but it has not been reported.
We need to retrieve this information with an API in JSON format to track paid bookings.
Another question: How can we export reservation information in JSON format to integrate it into payment information?
Thank you for your reply.
February 4, 2021 at 10:04 am #1069752Mathieu DorvalParticipantRead on the plugin’s comments pages …
J. Davis
says:
October 23, 2018 at 3:07 pm
Hi Alan,
Thanks for your question. The WooCoomerce Order contains just information related to the payment – name, email, address, etc. The reservation details are not included there. However it is linked with proper Booking ID so you can see related booking and orders.February 4, 2021 at 11:34 pm #1070008Andre FloresModeratorHello Mathieu,
Yes, that is correct, the order information is included in the payment under Payment History, here is how it looks like: https://prnt.sc/yd7m3i.
Kindly specify what payment gateway in WooCommerce you are using and what information is missing in the payment.Regards,
AndreFebruary 4, 2021 at 11:48 pm #1069571Mathieu DorvalParticipantTo illustrate this problem with the Hotel booking Woocommerce payments plugin which is currently unusable:
Bank payment return: BankPaymentReturn.png
Billing detail:
BillingDetail.png
Payment history page:
PaymentHistory.png
Woocommerce order page:
WoocommerceOrderDetail.pngFebruary 5, 2021 at 12:03 am #1070028Mathieu DorvalParticipantHello André,
The problem does not come from the payment platform (Systempay) since it exists with the payment by check or bank transfer. I don’t get the same result as your screenshot and in the whole payment procedure no information has been transmitted.Thank you for following this problem!
February 5, 2021 at 1:12 am #1070055Mathieu DorvalParticipantFor info, on this installation we use :
PHP:7.3
Wordpress:5.6.1
WooCommerce:4.9.2
Hotel Booking:3.9.3
Hotel Booking WooCommerce Payments:1.0.5
Hotel Booking Payment Request:1.1.2
Hotel Booking Checkout Fields:1.0.0
Hotel Booking Notifier – Event-driven emails:1.0.2
Hotel Booking PDF Invoices:1.0.2
Hotel Booking Styles:1.0.0
Hotel Booking & Divi Integration:1.0.3Other plugins:
WooCommerce Systempay Payment:1.8.9
WP Mail SMTP:2.6.0
Yoast Duplicate Post:4.1.1
UpdraftPlus:1.16.47We performed a resolution test by disabling the other plugins without success.
February 5, 2021 at 3:59 am #1070161Mathieu DorvalParticipantAndré,
For information: for users who are not registered and not connected to the site, from the Hotel Booking reservation form and when passing on the payment page of WooCommerce no information is transmitted (even the email address). So no validation return email is sent by the bank and no sales information by WooCommerce.Do you plan to solve this problem or should we look for an alternative solution?
February 8, 2021 at 2:33 am #1070971Andre FloresModeratorHello Mathieu,
Unfortunately, I was unable to replicate the issue on my end. I have tried the Direct Bank Transfer gateway via WooCommerce and Billing information was passed to Bookings ->Payment History: https://prnt.sc/yp35lp.
Kindly submit your request to our Help Desk providing temporary access to WordPress dashboard, so we take a closer look at the issue.Regards,
AndreFebruary 8, 2021 at 7:06 am #1071214Mathieu DorvalParticipantThis reply has been marked as private.February 8, 2021 at 7:36 am #1071228Mathieu DorvalParticipantI restarted a reservation test until payment after activating the debug mode.
Here is the result of the debug.log :
[08-Feb-2021 15:25:24 UTC] PHP Warning: Cannot modify header information – headers already sent in /home/nightec/www/wp-content/plugins/motopress-hotel-booking/includes/libraries/wp-session-manager/class-wp-session.php on line 127
[08-Feb-2021 15:25:35 UTC] PHP Warning: Cannot modify header information – headers already sent in /home/nightec/www/wp-content/plugins/motopress-hotel-booking/includes/libraries/wp-session-manager/class-wp-session.php on line 127
[08-Feb-2021 15:25:35 UTC] …/builder/class-et-builder-element.php:790 ET_Builder_Element::__construct():
You’re Doing It Wrong! Setting definition for children has a deprecated value: ‘input’ for parameter: ‘type’. Use ‘text’ instead.[08-Feb-2021 15:25:45 UTC] …/builder/class-et-builder-element.php:790 ET_Builder_Element::__construct():
You’re Doing It Wrong! Setting definition for children has a deprecated value: ‘input’ for parameter: ‘type’. Use ‘text’ instead.[08-Feb-2021 15:25:57 UTC] …/builder/class-et-builder-element.php:790 ET_Builder_Element::__construct():
You’re Doing It Wrong! Setting definition for children has a deprecated value: ‘input’ for parameter: ‘type’. Use ‘text’ instead.[08-Feb-2021 15:26:34 UTC] PHP Warning: Cannot modify header information – headers already sent in /home/nightec/www/wp-content/plugins/motopress-hotel-booking/includes/libraries/wp-session-manager/class-wp-session.php on line 127
[08-Feb-2021 15:26:35 UTC] …/builder/class-et-builder-element.php:790 ET_Builder_Element::__construct():
You’re Doing It Wrong! Setting definition for children has a deprecated value: ‘input’ for parameter: ‘type’. Use ‘text’ instead.[08-Feb-2021 15:26:35 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘custom_override_checkout_fields’ not found or invalid function name in /home/nightec/www/wp-includes/class-wp-hook.php on line 287
[08-Feb-2021 15:26:35 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/nightec/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 267
[08-Feb-2021 15:26:36 UTC] …/builder/class-et-builder-element.php:790 ET_Builder_Element::__construct():
You’re Doing It Wrong! Setting definition for children has a deprecated value: ‘input’ for parameter: ‘type’. Use ‘text’ instead.[08-Feb-2021 15:26:51 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘custom_override_checkout_fields’ not found or invalid function name in /home/nightec/www/wp-includes/class-wp-hook.php on line 287
[08-Feb-2021 15:26:51 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/nightec/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 267
[08-Feb-2021 15:26:51 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/nightec/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 682
[08-Feb-2021 15:26:51 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘custom_override_checkout_fields’ not found or invalid function name in /home/nightec/www/wp-includes/class-wp-hook.php on line 287
[08-Feb-2021 15:26:51 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/nightec/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 267
[08-Feb-2021 15:26:51 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/nightec/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 733
[08-Feb-2021 15:26:51 UTC] PHP Notice: Undefined index: billing_email in /home/nightec/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 369
[08-Feb-2021 15:26:52 UTC] …/builder/class-et-builder-element.php:790 ET_Builder_Element::__construct():
You’re Doing It Wrong! Setting definition for children has a deprecated value: ‘input’ for parameter: ‘type’. Use ‘text’ instead.[08-Feb-2021 15:27:15 UTC] …/builder/class-et-builder-element.php:790 ET_Builder_Element::__construct():
You’re Doing It Wrong! Setting definition for children has a deprecated value: ‘input’ for parameter: ‘type’. Use ‘text’ instead.February 8, 2021 at 7:45 am #1071233Mathieu DorvalParticipantHere is the result in image: http://all.ovh/mp/PaymentHistoryResult.png
February 8, 2021 at 8:38 am #1071284Mathieu DorvalParticipantI found custom_override_checkout_fields in the function file, it was badly commented!
Thank you André,
SincerelyFebruary 9, 2021 at 12:40 am #1071582Andre FloresModeratorHello Mathieu,
Thank you for sharing your insights, it is much appreciated. Could you kindly provide me with more details on what code exactly have you changed?
Thank you in advance.Regards,
AndreJanuary 9, 2022 at 1:40 pm #1241577Rudolf Cohilj-BenigarParticipantHello Andre,
the first test with the Test-Payment-Gateway resulted also in empty “Billing Info” in the payments history (like seen in the screenshots before).
Is there already a solution/update to this problem available?
January 12, 2022 at 9:42 am #1243417Mathieu DorvalParticipantGood evening Rudolf,
I solved the problem by commenting a line of code added to the function.php file to modify the Woocommerce order form configuration. - AuthorPosts
- You must be logged in to reply to this topic.