• Resolved doughballs

    (@doughballs)


    I’m using a dynamic deposit system in my store. When i use set_total to update the order total to the deposit amount, PayPal takes a payment for 0.00 – the order total is not set to the deposit amount and no payment is taken. Does the plugin allow for custom totals to be set and requested on the checkout page?

Viewing 1 replies (of 1 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @doughballs

    This plugin uses core WooCommerce functionality when sending the order total to PayPal. The function WC_Order::get_total() is how this plugin communicates the amount to charge to PayPal.

    If you are manipulating the WC_Order’s total, you need to make sure you save the order after making changes. $order->save().

    Does the plugin allow for custom totals to be set and requested on the checkout page?

    There are filters available which allow for all of the data sent to PayPal to be customized.

    Kind Regards

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.