Conversation
supportHi, A client is using this plugin for setting a 3% fee on credit card purchases. The system is also setup to use payment plans (via Payment Plan Suite). In this case, a user has purchased two items with a total cost of $7550. The payment plan is split into four payments, the first payment being $1935.90 plus the 3% fee. However, as you can see below, the 3% fee of $226.50 (which is 3% of the TOTAL cost) is applied twice (along with a bunch of other noise). View post on imgur.com The second payment appears to calculate the 3% fee correctly, except that the FULL fee was collected in the first payment. Any ideas on what is going on? The page I need help with: [ log in to see the link]
Hi @amatheson , I apologize for the delay in getting back to you. Thank you for sharing the screenshot and providing a detailed explanation of your issue. Could you please let me know if you are using any plugin to collect total payments in installments on your site? If so, could you share the plugin ZIP file that handles this functionality? Additionally, it would be very helpful if you could provide an outline of the steps to configure and reproduce the issue on our end. Once we have the necessary information to replicate the issue, we will perform testing on our side and provide you with an update. Your assistance in this matter is greatly appreciated.
Hi @komal-maru , We’re experiencing the same issue where plugin fees are applied twice on the “pay for order” checkout page during the initial page load. However, when we switch to a different payment method and then switch back, the duplicates are removed automatically. Screenshots: https://www.awesomescreenshot.com/image/58139185?key=ae86a6afba0d0a30d4f763e8ad16d037 https://www.awesomescreenshot.com/image/58139187?key=cdc6d838d78af89aeb39c670819a5905 Our debugging findings: The issue appears to be with the ?wc-ajax=update_fees API call. On the initial page load, the API returns incorrect line items with duplicates. However, on the second call (when switching back to the original payment method), the API returns the correct line items. Both API calls pass identical form data payload: payment_method: wspa_checkout_redirect payment_method_title: Stripe Checkout Redirect order_id: 1861 We’ve tested with different payment method plugins and encounter the same issue on the “pay for order” page. We’re using the plugin: https://wordpress.org/support/plugin/payment-addons-for-woocommerce/ I also noticed a comment in the API call—I’m not sure if it’s related to this issue: // We need to set the payment method blank because when second time when it comes here on changing the payment method it should take that changed value and not the payment method present in the order. pgf_checkout_order_id.payment_method = ''; $.post('?wc-ajax=update_fees', data, (response) => { Looking forward your feedback and thanks advanced! Best
Hi @boatyang , I apologize for the delay in getting back to you, and thank you for sharing the screenshots. I attempted to reproduce the reported issue on my end—where payment gateway fees are charged multiple times on the initial load of the Pay for Order page. However, I was unable to replicate this behavior. When accessing the Pay for Order link, only a single payment gateway fee from our plugin is applied to the order. You can refer to the recording below for reference: https://screenrec.com/share/8GRXh7MgkD Could you please share the screenshots of the settings configured in our plugin along with a video demonstrating the issue on your site? This will help me replicate the issue on my end. Alternatively, if possible, please email us at ‘support at tychesoftwares dot com’ with the details and temporary admin credentials so we can troubleshoot the issue directly on your site. Your assistance with this is greatly appreciated! Regarding your findings, I will share them with my developer colleague for further review and will get back to you as soon as I have any updates.
Hi @amatheson , I apologize for the delay in getting back to you. Thank you for sharing the screenshot and providing a detailed explanation of your issue. Could you please let me know if you are using any plugin to collect total payments in installments on your site? If so, could you share the plugin ZIP file that handles this functionality? Additionally, it would be very helpful if you could provide an outline of the steps to configure and reproduce the issue on our end. Once we have the necessary information to replicate the issue, we will perform testing on our side and provide you with an update. Your assistance in this matter is greatly appreciated.
Hi @komal-maru , We’re experiencing the same issue where plugin fees are applied twice on the “pay for order” checkout page during the initial page load. However, when we switch to a different payment method and then switch back, the duplicates are removed automatically. Screenshots: https://www.awesomescreenshot.com/image/58139185?key=ae86a6afba0d0a30d4f763e8ad16d037 https://www.awesomescreenshot.com/image/58139187?key=cdc6d838d78af89aeb39c670819a5905 Our debugging findings: The issue appears to be with the ?wc-ajax=update_fees API call. On the initial page load, the API returns incorrect line items with duplicates. However, on the second call (when switching back to the original payment method), the API returns the correct line items. Both API calls pass identical form data payload: payment_method: wspa_checkout_redirect payment_method_title: Stripe Checkout Redirect order_id: 1861 We’ve tested with different payment method plugins and encounter the same issue on the “pay for order” page. We’re using the plugin: https://wordpress.org/support/plugin/payment-addons-for-woocommerce/ I also noticed a comment in the API call—I’m not sure if it’s related to this issue: // We need to set the payment method blank because when second time when it comes here on changing the payment method it should take that changed value and not the payment method present in the order. pgf_checkout_order_id.payment_method = ''; $.post('?wc-ajax=update_fees', data, (response) => { Looking forward your feedback and thanks advanced! Best
Hi @boatyang , I apologize for the delay in getting back to you, and thank you for sharing the screenshots. I attempted to reproduce the reported issue on my end—where payment gateway fees are charged multiple times on the initial load of the Pay for Order page. However, I was unable to replicate this behavior. When accessing the Pay for Order link, only a single payment gateway fee from our plugin is applied to the order. You can refer to the recording below for reference: https://screenrec.com/share/8GRXh7MgkD Could you please share the screenshots of the settings configured in our plugin along with a video demonstrating the issue on your site? This will help me replicate the issue on my end. Alternatively, if possible, please email us at ‘support at tychesoftwares dot com’ with the details and temporary admin credentials so we can troubleshoot the issue directly on your site. Your assistance with this is greatly appreciated! Regarding your findings, I will share them with my developer colleague for further review and will get back to you as soon as I have any updates.