# s2member/110927/includes/menu-pages/code-samples/paypal-api-endpoint.php

s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls &amp; Member Access Subscriptions, version 110927. 7 lines.

- Page: https://pluginprobe.com/plugins/s2member/110927/code/includes/menu-pages/code-samples/paypal-api-endpoint.php
- Raw: https://pluginprobe.com/plugins/s2member/110927/raw/includes/menu-pages/code-samples/paypal-api-endpoint.php
- Modified: 2011-09-27T10:04:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/s2member/110927/code/includes/menu-pages/code-samples/paypal-api-endpoint.php#L10-L20`.

```php
<?php echo S2MEMBER_PAYPAL_API_ENDPOINT; ?>
This will output the PayPal® API endpoint domain: api-3t.paypal.com
( if sandbox testing is enabled, it will output api-3t.sandbox.paypal.com )

---- s2member Shortcode Equivalent ----

[s2Get constant="S2MEMBER_PAYPAL_API_ENDPOINT" /]
```
