Skip to content

Commit fbbf732

Browse files
authored
Merge pull request #22 from barryvdh/revert-18-master
Revert "Changed logic of the getting configuration values for gateways"
2 parents 50c3517 + 1c4eb8d commit fbbf732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GatewayManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function gateway($class = null)
4747

4848
if(!isset($this->gateways[$class])){
4949
$gateway = $this->factory->create($class, null, $this->app['request']);
50-
$gateway->initialize($this->getConfig($gateway->getName()));
50+
$gateway->initialize($this->getConfig($class));
5151
$this->gateways[$class] = $gateway;
5252
}
5353

0 commit comments

Comments
 (0)