Merge pull request #63 from monero-integrations/subscriptions

Adding support for subscriptions
This commit is contained in:
SerHack 2018-08-10 13:31:10 +02:00 committed by GitHub
commit 4c091a13f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,18 @@ class Monero_Gateway extends WC_Payment_Gateway
}
$this->monero_daemon = new Monero_Library($this->host, $this->port);
$this->cryptonote = new Cryptonote();
$this->supports = array( 'subscriptions', 'products' );
$this->supports = array(
'products',
'subscriptions',
'subscription_cancellation',
'subscription_suspension',
'subscription_reactivation',
'subscription_amount_changes',
'subscription_date_changes',
'subscription_payment_method_change'
);
}
public function get_icon()