# Customize a Payment Wall (/archive/paypal-plus/de/how-to/customize-payment-wall)



> **Note:** **Important:** PayPal Plus Germany is not available for new integrations. PayPal provides this documentation to support existing integrations. For new integrations, see the [PayPal Checkout Integration Guide](/checkout).

To customize the configuration of your internal or external payment button within the iframe on your payment wall, you can use the PayPal PLUS JavaScript library on a PayPal PLUS Payment Selection Page (PSP).

1. To define the API, load the `pppluslibrary`. The library attaches itself to the application as the `PAYPAL.apps` object as `PAYPAL.apps.PPP`.

   ```text lineNumbers
   var ppp = PAYPAL.apps.PPP(config)
   ```

   This operation accepts a configuration object and returns an instance of the PSP.
2. When the user clicks **Continue** or the library handles the checkout event, invoke the `ppp.doContinue` function.
3. Set the following parameters in the configuration object to render the PSP.

   ```html lineNumbers
   |Parameter|Type|Description|
   |---|---|---|
   |`approval_url`|String|Required. The `approval_url` returned by the create payment call.|
   |`placeholder`|String|Required. The ID of the DOM object where the PSP is mounted in the page. The PSP sets the object's width.|
   |`country`|ISO 3166-1 alpha-2| Required. The country where the PayPal PLUS service is deployed, for example, `FR`, `GB`, `DE`, or `US` which is the default. Get the country code from the buyer's billing address.|
   |`buttonLocation`|`enum`| Optional. <ul><li><code>outside</code>. Does not render the checkout button in the PayPal PLUS payment wall. To redirect, you must attach the <code>doCheckout</code> function to an external button and call <a href="/archive/paypal-plus/de/how-to/optional-params"><code>enableContinue</code></a>.</li><li><p><code>inside</code>. Renders the checkout button in the PayPal PLUS payment wall.</p><blockquote><strong>Important:</strong> Use of this parameter also requires that you include the <a href="/archive/paypal-plus/de/how-to/optional-params"><code>onContinue</code> parameter</a> to define the next page or action to which the user is sent.</blockquote></li></ul>|

   > **Note:** For additional optional parameters, see
   ```

   [Optional Parameters for Configuration Object](/archive/paypal-plus/de/how-to/optional-params).
4. For an internal payment button, see [update your payment resource](/archive/paypal-plus/de/integrate/update-payment-resource). For an external payment button, complete the following external button configuration steps.

## Additional external button configuration [#additional-external-button-configuration]

When the user clicks **Continue**, they are redirected to the page in the attached function.

* `doContinue`. The configured URL, which enables additional pages between the selection and checkout pages. To use this configuration option, add the `onContinue` function to the configuration object of the PayPal PLUS library.

  ```text lineNumbers
  onContinue: function () {
  window.location = "nextpage.php";
  },
  ```
* `doCheckout`. The PayPal hosted pages.

For external buttons:

1. Add the following script to your external **Continue** button. On `id`, replace `continueButton` with your button ID:

   ```html lineNumbers
   <button>
   type="submit"
   id="continueButton"
   onclick="ppp.doContinue(); return false;"> Checkout
   </button>
   ```
2. On the `nextpage.php`, load the PayPal PLUS library and add the checkout function to the button.

   ```html lineNumbers
   <button
   type="button"
   onclick="PAYPAL.apps.PPP.doCheckout();">
   PayPal PLUS Checkout Now
   </button>
   ```

## Next [#next]

[Update your payment resource](/archive/paypal-plus/de/integrate/update-payment-resource).
