![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/vendor/srmklive/paypal/tests/Mocks/Requests/ |
<?php namespace Srmklive\PayPal\Tests\Mocks\Requests; use GuzzleHttp\Utils; trait Identity { private function mockCreateMerchantApplicationParams(): array { return Utils::jsonDecode('{ "redirect_uris": [ "https://example.com/callback", "https://example.com/callback2" ], "client_name": "AGGREGATOR", "logo_uri": "https://example.com/logo.png", "contacts": [ "facilitator@example.com", "merchant@example.com" ], "policy_uri": "https://example.com/policyuri", "tos_uri": "https://example.com/tosuri", "scope": "profile email address", "token_endpoint_auth_method": "client_secret_basic", "jwks_uri": "https://example.com/my_public_keys.jwks" }', true); } private function mockSetAccountPropertiesParams(): array { return Utils::jsonDecode('{ "categories": [ { "name": "PAYMENT", "groups": [ { "name": "AUTH_SETTLE", "preferences": [ { "name": "ENABLE_ENHANCED_AUTH_SETTLE", "value": "true" } ] } ] } ] }', true); } }