Page MenuHomestyx hydra

PhortuneTestExtraPaymentProvider.php
No OneTemporary

PhortuneTestExtraPaymentProvider.php

<?php
final class PhortuneTestExtraPaymentProvider extends PhortunePaymentProvider {
public function isEnabled() {
return false;
}
public function getProviderType() {
return 'test2';
}
public function getProviderDomain() {
return 'example.com';
}
public function getPaymentMethodDescription() {
return pht('You Should Not Be Able to See This');
}
public function getPaymentMethodIcon() {
return celerity_get_resource_uri('/rsrc/image/phortune/test.png');
}
public function getPaymentMethodProviderDescription() {
return pht('Just for Unit Tests');
}
public function canHandlePaymentMethod(PhortunePaymentMethod $method) {
$type = $method->getMetadataValue('type');
return ($type === 'test.multiple');
}
protected function executeCharge(
PhortunePaymentMethod $payment_method,
PhortuneCharge $charge) {
return;
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Nov 24, 2:12 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
399609
Default Alt Text
PhortuneTestExtraPaymentProvider.php (900 B)

Event Timeline