WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Add Charges To Payment Gateway
Extra charge not showing in emails or thank you page (15 posts)

  1. thesl1nk
    Member
    Posted 1 year ago #

    Hi

    Thanks for this plugin. Please can you tell me how to get the charge showing on the thank you page and the emails.

    The total amount is correct but it doesnt show up in the table.

    Thank you

    http://wordpress.org/extend/plugins/woocommerce-add-extra-charges-option-to-payment-gateways/

  2. z4x3r
    Member
    Posted 8 months ago #

    How is it possible that a solution to this hasn't been provided yet?

  3. Hannu Pakanen
    Member
    Posted 7 months ago #

    Hi everybody.

    Same problem here. Charges doesent shows on the thank you page and the email. Great plugin, nearly useful.

    Can anyone help?

  4. Mirco Babini
    Member
    Posted 7 months ago #

    I changed this row:

    add_action( 'woocommerce_review_order_before_order_total',  array( $this, 'add_payment_gateway_extra_charges_row'));

    into:

    add_action( 'woocommerce_review_order_before_order_total',  array( $this, 'add_payment_gateway_extra_charges_row')); // ok checkout
    add_action( 'woocommerce_cart_totals_before_order_total',  array( $this, 'add_payment_gateway_extra_charges_row')); // ok cart
    add_filter( 'woocommerce_get_order_item_totals', array( $this, 'add_payment_gateway_extra_charges_row_filter')); // ok email

    but this still doesn't work for the thank you page.

  5. Hannu Pakanen
    Member
    Posted 7 months ago #

    So,

    Case is not solved yet.. can anyone help?

  6. Mirco Babini
    Member
    Posted 7 months ago #

    Did you tried if the purposed rows in my last comment work for you too?
    It should show the charge in the email.

    After that, the hook "woocommerce_get_order_item_totals" should be the one for the thank-you page but it doesn't work, right.

    Thanks.

  7. Hannu Pakanen
    Member
    Posted 7 months ago #

    Hi Mirco.

    Nice try but nothing happend. I changed rows but result was the same. There was no infomation about extra charges in thankpage or email.

    Any good idea?

  8. Mirco Babini
    Member
    Posted 7 months ago #

    Hannu,

    I just noticed I wrongly wrote the last callback method name.
    Try to edit it like the others and try again, it should work in emails.

    Thanks,

  9. Hannu Pakanen
    Member
    Posted 7 months ago #

    No.
    I doesent show extra charges and shipping coast is also hidden.

    Thanks anyway Mirco.

  10. GosserBox
    Member
    Posted 7 months ago #

    Many of us appreciate your work and would like to know if you are working to solve the problem with the, thank you page and notification by eMail.

    Surely many of us we would be willing to buy a Pro Version low cost.

    Thank you very much.

    PS: After much searching a solution, I am pleased share another plugin I have discovered and solved the problem:

    https://github.com/mcguffin/woocommerce-payforpayment
    (Note: the developer warns of incompatibility with PayPal policy and, support with coupons).

  11. Mirco Babini
    Member
    Posted 7 months ago #

    We may try to use the woocommerce_before_calculate_totals hook in order to manually add the row to the cart accordingly to the set gateway.

    I'll try soon, if you don't do it earlier.
    Cheers,

  12. Dalibr
    Member
    Posted 5 months ago #

    Hello any news? I would really appreciate some solution.

  13. michaldybczak
    Member
    Posted 3 months ago #

    Woocommerce Pay for Payment solved all those problems for me :)

  14. Mirco Babini
    Member
    Posted 3 months ago #

    Yep, Woocommerce Pay for Payment seems working good.

    Someone else solved using it?
    Thanks,

  15. EddyTarantulo
    Member
    Posted 1 month ago #

    Thank you GosserBox. That solves all the problems. Use Woocommerce Pay for Payment it has way more features.

    The author of this plugin should just delete this. Cause this plugin only makes problems for people...

    https://wordpress.org/plugins/woocommerce-pay-for-payment/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic