CubeCart Bot Posted February 5, 2018 Share Posted February 5, 2018 Name: PayPal Powered by Braintree Price: Free Category: Plugins Homepage: https://www.cubecart.com/extensions/plugins/paypal-powered-by-braintree Quote Link to comment Share on other sites More sharing options...
adamsymonds88 Posted March 22, 2018 Share Posted March 22, 2018 Is there any plan to support Braintree's Apple and Android pay too? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted August 17, 2018 Share Posted August 17, 2018 This plugin will not work with a lot of third party skins - see https://github.com/cubecart/v6/issues/2142 Quote Link to comment Share on other sites More sharing options...
Ferguson230 Posted May 30, 2019 Share Posted May 30, 2019 @havenswift-hosting I know that it was stated that Quote This extension is only available to French, UK & US merchants trading with Euros, Pound Sterling or US Dollars as primary currency. but is there a way to modify it to accept a different currency besides those three stated currencies? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted May 30, 2019 Share Posted May 30, 2019 I know very little about PayPal and even less about this plugin as it wouldnt work with most third party skins and only with Foundation. I also understand that it is being discontinued by PayPal but you should really check with @Al Brookbanks. I think the Braintree service is only available for merchants in those countries and that was a PayPal restriction and nothing to do with the extension. Use Stripe instead, MUCH better Quote Link to comment Share on other sites More sharing options...
Ferguson230 Posted May 30, 2019 Share Posted May 30, 2019 Thanks, I will look into stripe. Quote Link to comment Share on other sites More sharing options...
Ferguson230 Posted June 2, 2019 Share Posted June 2, 2019 (edited) @havenswift-hosting So I created a test stripe API and tried it, after payment capture, on the stripe dashboard it seems to add two zeros to the amount making the price higher than the regular. However the transaction amount on Cubecart seems to display the right price, what could be causing this? @bsmither do you have any idea or knowledge on this? Edited June 19, 2019 by Ferguson230 Quote Link to comment Share on other sites More sharing options...
Ferguson230 Posted June 25, 2019 Share Posted June 25, 2019 I edited the rootfolder/modules/gateway/Stripe/gateway.class.phpgateway file to solve the charge difference. near line 113, change $source = \Stripe\Source::create(array( "amount" => $this->_basket['total']*100, "currency" => strtolower($GLOBALS['config']->get('config', 'default_currency')), to $source = \Stripe\Source::create(array( "amount" => $this->_basket['total']*1, "currency" => strtolower($GLOBALS['config']->get('config', 'default_currency')), and near line 130, change $charge = \Stripe\Charge::create(array( "customer" => $customer_id, "amount" => $this->_basket['total']*100, "currency" => strtolower($GLOBALS['config']->get('config', 'default_currency')), to $charge = \Stripe\Charge::create(array( "customer" => $customer_id, "amount" => $this->_basket['total']*1, "currency" => strtolower($GLOBALS['config']->get('config', 'default_currency')), Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.