mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 20:22:46 +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;
|
||
|
}
|
||
|
|
||
|
}
|