stellaplata Posted December 8, 2017 Share Posted December 8, 2017 how to allow a paypal method over a certain amount. Hi, thank you for your support in advance. I'm looking for a way to activate paypal that only shows the option when they buy a certain amount. For example: if the customer buys less than $ 100, the paypal option does not appear or if he buys a larger amount at $ 300, the PayPal option appears. I use version 2.3.4 I thank their support since I can not find the form. regards Michael Link to comment Share on other sites More sharing options...
♥Moxamint Posted December 8, 2017 Share Posted December 8, 2017 Hi @stellaplata, This is how I did it on my legacy site, which involves core changes. In <<paypal_standard.php>>, find: function update_status() { global $order; Add right under: if ( $order->info['subtotal'] < MODULE_PAYMENT_PAYPAL_STANDARD_ACCEPTED_LOWER_THRESHOLD ) { $this->enabled = false; } Where MODULE_PAYMENT_PAYPAL_STANDARD_ACCEPTED_LOWER_THRESHOLD you could replace it with 100 so that PayPal payment option does not show for any orders < 100. Please backup your file before making changes to it. Cheers, Eddy Link to comment Share on other sites More sharing options...
stellaplata Posted December 13, 2017 Author Share Posted December 13, 2017 Thanks Eddy works Greath Regars you are the best Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.