PPP- tags provide the building blocks for this. They output the container into which PayPal inserts its wall, retrieve the address the PayPal script works with, and pass the two addresses to which PayPal sends the buyer back.
Guide: PayPal PLUS
Setting the container for the payment wall
PPP-PayPalMethodsDivContainerID outputs the identifier of the area into which PayPal loads its payment wall. You create the area, PayPal fills it.
Create the area empty and without a fixed height. The PayPal script inserts everything else.
Showing and hiding the wall
Two range tags control where the wall appears.PPP-ShowPayPalMethodsAtPlaceOrder only exists as a positive range tag. It ensures that the wall also appears once during quick ordering, where the buyer skips the payment and shipping method page.When evaluating
PPP-ShowPayPalMethodsAtPayDeliv, the shop system triggers the check of the available payment methods if it has not yet run. The range tag therefore reliably tells you whether PayPal PLUS is eligible for this basket at all.The information for the PayPal script
PayPal’s script needs two pieces of information from the shop.Placing it several times on the same page is harmless. The shop system only queries PayPal once per page request.
PPP-CountryCode always returns a value. If no country code can be determined from the billing address, the tag outputs DE. The range tag therefore always applies, and a negative range for it is never displayed. The previous documentation shows exactly this as an example.The return addresses
After the process at PayPal, the buyer returns to one of the two addresses. The shop system provides both ready-made, and you pass both to PayPal.Both are exclusively single tags. As a range tag, they are treated as an invalid tag.
Evaluating the response from PayPal
PPP-ResponseJSONHexCoded returns PayPal’s complete response for the completed process, hex-encoded for passing to the JSON interface. Through it, you can access individual values, for example the payment method actually used by PayPal.
The tag is available on the order confirmation and in the confirmation email. Before that, the response is not yet available.
The tags at a glance
PPP-ShowPayPalMethodsAtPayDeliv only applies on the payment and shipping method page, PPP-ShowPayPalMethodsAtPlaceOrder only on the order overview. PPP-ResponseJSONHexCoded belongs on the order confirmation and in the confirmation email. The two return addresses are permitted on all templates, the other tags on both pages of the payment process.
Related topics
- Guide: PayPal PLUS
- Reference: PAY- (Displaying and selecting payment methods)
- Reference: PPC- (PayPal Checkout)
- Reference: EJD- (JSON interface)
