PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wiloke-listing-tools
/
app
/
Framework
/
Payment
<?php namespace WilokeListingTools\Framework\Payment; use WilokeListingTools\Framework\Routing\Controller; 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); } }
[+]
..
[-] CancelSubscriptionInterface.php
[edit]
[-] SuspendSubscriptionPlan.php
[edit]
[-] Billable.php
[edit]
[-] SuspendInterface.php
[edit]
[-] StripePayment.php
[edit]
[+]
FreePlan
[-] PayPalPayment.php
[edit]
[-] WebhookHandler.php
[edit]
[-] CancelSubscriptionStaticFactory.php
[edit]
[-] CreatedPaymentHook.php
[edit]
[-] RefundFactory.php
[edit]
[+]
Stripe
[+]
PaymentHook
[-] Checkout.php
[edit]
[+]
DirectBankTransfer
[-] RefundInterface.php
[edit]
[-] Coupon.php
[edit]
[-] ProceededPaymentHook.php
[edit]
[-] AbstractSuspend.php
[edit]
[-] AddListingRetrieve.php
[edit]
[-] PaymentMethodInterface.php
[edit]
[+]
Invoice
[+]
PayPal
[+]
Receipt
[-] ChangePlanInterface.php
[edit]
[-] WebhookInterface.php
[edit]
[+]
WooCommerce
[-] PaymentGatewayStaticFactory.php
[edit]
[-] Receipt.php
[edit]