1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 19:02:41 +01:00
phorge-phorge/src/applications/phortune/provider/PhortuneTestPaymentProvider.php

17 lines
401 B
PHP
Raw Normal View History

<?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;
}
}