Ferguson230
Member-
Posts
54 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Ferguson230's Achievements
-
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')),
-
@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?
-
Thanks, I will look into stripe.
-
@havenswift-hosting I know that it was stated that but is there a way to modify it to accept a different currency besides those three stated currencies?
-
Installed successfully, but it's not showing up on the front end. I have cleared cache and everything.