Jump to content

Ferguson230

Member
  • Posts

    54
  • Joined

  • Last visited

Everything posted by Ferguson230

  1. 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')),
  2. @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?
  3. @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?
  4. Installed successfully, but it's not showing up on the front end. I have cleared cache and everything.
×
×
  • Create New...