Skip to content

Commit f5b8ffb

Browse files
author
adrianbarbos
committed
Bug fix
1 parent bf5903d commit f5b8ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MobilpayGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function purchase() {
2626

2727
public function response() {
2828
$gateway = Omnipay::create('MobilPay');
29-
$gateway->privateKeyPath(config('mobilpay.private_key_path'));
29+
$gateway->setPrivateKey(config('mobilpay.private_key_path'));
3030

3131
$response = $gateway->completePurchase($_POST)->send();
3232
$response->sendResponse();

0 commit comments

Comments
 (0)