mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
17 lines
445 B
PHP
17 lines
445 B
PHP
<?php namespace App\Ninja\PaymentDrivers;
|
|
|
|
class MolliePaymentDriver extends BasePaymentDriver
|
|
{
|
|
public function completeOffsitePurchase($input)
|
|
{
|
|
$details = $this->paymentDetails();
|
|
|
|
$details['transactionReference'] = $this->invitation->transaction_reference;
|
|
|
|
$response = $this->gateway()->fetchTransaction($details)->send();
|
|
|
|
return $this->createPayment($response->getTransactionReference());
|
|
}
|
|
|
|
}
|