| Server IP : 38.190.208.107 / Your IP : 216.73.216.219 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : www ( 1000) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.3/wp-content/plugins/wpforms-lite/src/Integrations/Stripe/Api/ |
Upload File : |
<?php
namespace WPForms\Integrations\Stripe\Api;
use Exception;
/**
* Payment API interface.
*
* @since 1.8.2
*/
interface ApiInterface {
/**
* API class initialization.
*
* @since 1.8.2
*/
public function init();
/**
* Set API configuration.
*
* @since 1.8.2
*/
public function set_config();
/**
* Initial Stripe app configuration.
*
* @since 1.8.2
*/
public function setup_stripe();
/**
* Set payment tokens from a submitted form data.
*
* @since 1.8.2
*
* @param array $entry Copy of original $_POST.
*/
public function set_payment_tokens( $entry );
/**
* Process single payment.
*
* @since 1.8.2
*
* @param array $args Single payment arguments.
*/
public function process_single( $args );
/**
* Process subscription.
*
* @since 1.8.2
*
* @param array $args Subscription arguments.
*/
public function process_subscription( $args );
/**
* Get API configuration array or its key.
*
* @since 1.8.2
*
* @param string $key Name of the key to retrieve.
*
* @return mixed
*/
public function get_config( $key = '' );
/**
* Get saved Stripe payment object or its key.
*
* @since 1.8.2
*
* @param string $key Name of the key to retrieve.
*
* @return mixed
*/
public function get_payment( $key = '' );
/**
* Get saved Stripe customer object or its key.
*
* @since 1.8.2
*
* @param string $key Name of the key to retrieve.
*
* @return mixed
*/
public function get_customer( $key = '' );
/**
* Get saved Stripe subscription object or its key.
*
* @since 1.8.2
*
* @param string $key Name of the key to retrieve.
*
* @return mixed
*/
public function get_subscription( $key = '' );
/**
* Get details from a saved Charge object.
*
* @since 1.8.2
*
* @param string|array $keys Key or an array of keys to retrieve.
*
* @return array
*/
public function get_charge_details( $keys );
/**
* Get API error message.
*
* @since 1.8.2
*
* @return string
*/
public function get_error();
/**
* Get API exception.
*
* @since 1.8.2
*
* @return Exception
*/
public function get_exception();
}