Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: hr line 7 and body in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: body line 4 and html in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Premature end of data in tag html line 2 in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 QC: {IF-USING-PAYPAL-WPS-END}
Modular Merchant
QuickCode™ Glossary
{IF-USING-PAYPAL-WPS-END}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{IF-ORDER-CONTAINS-SUBSCRIPTION-PRODUCTS-BEGIN}

{IF-ORDER-CONTAINS-SUBSCRIPTION-PRODUCTS-END}

{IF-ORDER-HISTORY-BEGIN}

{IF-ORDER-HISTORY-END}

{IF-PAYPAL-WPS-ELIGIBLE-BEGIN}

{IF-PAYPAL-WPS-ELIGIBLE-END}

{IF-USING-PAYPAL-WPS-BEGIN}

{IF-USING-PAYPAL-WPS-END}

{ORDER-MEMOS}

{URL-PRINTABLE-ORDER-RECEIPT}

Orders > {IF-USING-PAYPAL-WPS-END}
<< {IF-USING-PAYPAL-WPS-BEGIN} {ORDER-MEMOS} >>
{IF-USING-PAYPAL-WPS-END} Updated: 07/2/2013

The {IF-USING-PAYPAL-WPS-END} QuickCode Tag may be used with the {IF-USING-PAYPAL-WPS-BEGIN} QuickCode Tag to create a block of content that will only be shown if the PayPal Website Payments Standard payment gateway is enabled. To enable the PayPal Website Payments Standard payment gateway, enter a valid PayPal account login in the PayPal Account Login option located in the Merchant Account Settings section of the System Settings, or in the PayPal Website Payments Standard Integration Options, located at [Modules > 3rd-Party Service Integration > PayPal Website Payments Standard Integration].

Requirements / Prerequisites

The {IF-USING-PAYPAL-WPS-BEGIN} QuickCode Tag must be used with the {IF-USING-PAYPAL-WPS-END} QuickCode Tag. The {ELSE} QuickCode Tag may optionally be inserted between {IF-USING-PAYPAL-WPS-BEGIN} and {IF-USING-PAYPAL-WPS-END}.

{IF-USING-PAYPAL-WPS-BEGIN} and {IF-USING-PAYPAL-WPS-END} are compatible with checkout templates. The default checkout template is checkout_1.tpl, but some template packages may include additional checkout templates for a multi-page checkout process.

Content between {IF-USING-PAYPAL-WPS-BEGIN} and {IF-USING-PAYPAL-WPS-END} will be shown if a PayPal Account Login has been saved in the store's settings, either through the PayPal Account Login option located in the Merchant Account Settings section of the System Settings, or through the PayPal Website Payments Standard Integration Options, located at [Modules > 3rd-Party Service Integration > PayPal Website Payments Standard Integration].

Content between {IF-USING-PAYPAL-WPS-BEGIN} and {IF-USING-PAYPAL-WPS-END} will be hidden if a PayPal Account Login has not been saved in the store's settings.

If {ELSE} is inserted between {IF-USING-PAYPAL-WPS-BEGIN} and {IF-USING-PAYPAL-WPS-END}, then content between {IF-USING-PAYPAL-WPS-BEGIN} and {ELSE} will be shown if a PayPal Account Login has been saved in the store's settings, either through the PayPal Account Login option located in the Merchant Account Settings section of the System Settings, or through the PayPal Website Payments Standard Integration Options, located at [Modules > 3rd-Party Service Integration > PayPal Website Payments Standard Integration].

Any alternate content between {ELSE} and {IF-USING-PAYPAL-WPS-END} will be shown if a PayPal Account Login has not been saved in the store's settings.

Example of Use

1. Add the following to the checkout template:

Example
<form action="{THIS-PAGE}" method="post" name="checkout_form" id="checkout_form">
{IF-USING-PAYPAL-WPS-BEGIN}
{IF-PAYPAL-WPS-ELIGIBLE-BEGIN}
{PAYPAL-WPS-CAPTURE-ORDER-BUTTON}
{ELSE}
Subscription orders are not eligible for payment through PayPal. Please select one of the other payment options.
{IF-PAYPAL-WPS-ELIGIBLE-END}
{ELSE}
Pay with PayPal is not allowed at this time. Please select one of the other payment options.
{IF-USING-PAYPAL-WPS-END}
</form>

2. If the PayPal Website Payments Standard payment gateway is enabled, and the store's Allow off-site payments? option either is set to YES, or is set to NO but the order does not contain any subscription products, the checkout page will display the following:

Example

3. If the PayPal Website Payments Standard payment gateway is enabled, and the store's Allow off-site payments? option is set to NO and the order contains any subscription products, the checkout page will display the following:

Example
Subscription orders are not eligible for payment through PayPal. Please select one of the other payment options.

4. If the PayPal Website Payments Standard payment gateway is not enabled, the checkout page will display the following:

Example
Pay with PayPal is not allowed at this time. Please select one of the other payment options.

Source Code Source Code Updated: Warning: date() expects parameter 2 to be long, string given in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 796
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-USING-PAYPAL-WPS-END} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2019 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map