mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 19:02:41 +01:00
17 lines
401 B
PHP
17 lines
401 B
PHP
|
<?php
|
||
|
|
||
|
final class PhortuneTestPaymentProvider extends PhortunePaymentProvider {
|
||
|
|
||
|
public function canHandlePaymentMethod(PhortunePaymentMethod $method) {
|
||
|
$type = $method->getMetadataValue('type');
|
||
|
return ($type === 'test.cash' || $type === 'test.multiple');
|
||
|
}
|
||
|
|
||
|
protected function executeCharge(
|
||
|
PhortunePaymentMethod $payment_method,
|
||
|
PhortuneCharge $charge) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
}
|