1
0
Files
PayPal-PHP-Server-SDK/doc/models/merchant-preferences.md
Patrick Powers 1fc2cf1e07 2.0.0 Release (#58)
* Automated commit message

* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2025-11-13 16:32:53 -06:00

837 B

Merchant Preferences

The merchant preferences for a subscription.

Structure

MerchantPreferences

Fields

Name Type Tags Description Getter Setter
returnUrl ?string Optional The URL where the customer is redirected after the customer approves the payment.

Constraints: Minimum Length: 10, Maximum Length: 4000
getReturnUrl(): ?string setReturnUrl(?string returnUrl): void
cancelUrl ?string Optional The URL where the customer is redirected after the customer cancels the payment.

Constraints: Minimum Length: 10, Maximum Length: 4000
getCancelUrl(): ?string setCancelUrl(?string cancelUrl): void

Example (as JSON)

{
  "return_url": "return_url8",
  "cancel_url": "cancel_url0"
}