Problems with data transfer to WooCommerce and payment history.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1068986
    Mathieu Dorval
    Participant

    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.

    #1069752
    Mathieu Dorval
    Participant

    Read 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.

    #1070008
    Andre Flores
    Moderator

    Hello 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,
    Andre

    #1069571
    Mathieu Dorval
    Participant

    To 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.png

    #1070028
    Mathieu Dorval
    Participant

    Hello 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!

    #1070055
    Mathieu Dorval
    Participant

    For 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.3

    Other plugins:
    WooCommerce Systempay Payment:1.8.9
    WP Mail SMTP:2.6.0
    Yoast Duplicate Post:4.1.1
    UpdraftPlus:1.16.47

    We performed a resolution test by disabling the other plugins without success.

    #1070161
    Mathieu Dorval
    Participant

    André,
    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?

    #1070971
    Andre Flores
    Moderator

    Hello 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,
    Andre

    #1071214
    Mathieu Dorval
    Participant
    This reply has been marked as private.
    #1071228
    Mathieu Dorval
    Participant

    I 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.

    #1071233
    Mathieu Dorval
    Participant

    Here is the result in image: http://all.ovh/mp/PaymentHistoryResult.png

    #1071284
    Mathieu Dorval
    Participant

    I found custom_override_checkout_fields in the function file, it was badly commented!
    Thank you André,
    Sincerely

    #1071582
    Andre Flores
    Moderator

    Hello 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,
    Andre

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.