⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.45
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
work
/
vendor
/
omnipay
/
stripe
/
src
/
Message
/
View File Name :
FetchTokenRequest.php
<?php /** * Stripe Fetch Token Request. */ namespace Omnipay\Stripe\Message; /** * Stripe Fetch Token Request. * * Often you want to be able to charge credit cards or send payments * to bank accounts without having to hold sensitive card information * on your own servers. Stripe.js makes this easy in the browser, but * you can use the same technique in other environments with our token API. * * Tokens can be created with your publishable API key, which can safely * be embedded in downloadable applications like iPhone and Android apps. * You can then use a token anywhere in our API that a card or bank account * is accepted. Note that tokens are not meant to be stored or used more * than onceāto store these details for use later, you should create * Customer or Recipient objects. * * @link https://stripe.com/docs/api#tokens */ class FetchTokenRequest extends AbstractRequest { public function getData() { $this->validate('token'); $data = array(); return $data; } public function getEndpoint() { return $this->endpoint.'/tokens/'.$this->getToken(); } public function getHttpMethod() { return 'GET'; } }