| Server IP : 91.108.98.166 / Your IP :
216.73.216.109 [
Web Server : LiteSpeed System : Linux nl-srv-web1124.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64 User : u964240598 ( 964240598) PHP Version : 8.4.19 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u964240598/domains/hofam.org/public_html/churchapp/application/controllers/ |
Upload File : |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
include_once './vendor/autoload.php';
require APPPATH . '/libraries/BaseController.php';
/*
* This class handles some of the requests from the android client app
*/
class Stripe extends BaseController {
public function __construct()
{
parent::__construct();
\Stripe\Stripe::setApiKey('sk_test_6xUByjFffp27HVRYr97f7aBh0095NrAQQq');
}
function index(){
$customer = \Stripe\Customer::create([
'description' => 'example customer',
'email' => 'email@example.com',
'payment_method' => 'pm_card_visa',
]);
echo $customer;
}
function createCustomer(){
$key = \Stripe\EphemeralKey::create(
['customer' => "help.envisionaps@gmail.com"],
['stripe_version' => '2020-03-02']
);
}
}
Anon7 - 2022
AnonSec Team
