close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Checkout Page Modification for Authorize.net

Thread began 4/14/2010 6:45 pm by markymark44 | Last modified 4/20/2010 2:19 pm by markymark44 | 6029 views | 8 replies

Eric Mittman

You can make it so that the PayPal button is not on the checkout page at all by putting in some extra code on your checkout page.

On this page the PayPal button code starts on line 591 through line 600. You can add in this code around the PayPal button to stop it from showing:

php:
<?php

if($WAGLOBAL_Gateway == ) { //Check your setting in the WA_Globals to ensure you are using the correct gateway
?>
the PayPal button code should be inside of this code
<?php ?>



So the original code should look like this:

php:
<?php if(!WA_Auth_RulePasses("No Payment Gateway")){ // Begin Show Region ?>

      <div class="checkoutHeader">Fast, Secure Checkout with PayPal</div>
      <div class="contentBox">
          <form name="PayPal_ExpressCheckout_form"  action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
            <p><input type="image" alt="PayPal Express Checkout" name="PayPal_ExpressCheckout_button" id="PayPal_ExpressCheckout_button"  src="WA_eCart/PP_ECO_Scripts/btn_xpressCheckoutsm.gif" />
          <p>Save time. Checkout securely.<br />Pay without sharing your financial information.</p>
        </form>
      </div>
      <br />
      <?php ?>



You will want to update it to be this instead:

php:
<?php

if($WAGLOBAL_Gateway == ) { //Check your setting in the WA_Globals to ensure you are using the correct gateway
?>
     <?php if(!WA_Auth_RulePasses("No Payment Gateway")){ // Begin Show Region ?>
      <div class="checkoutHeader">Fast, Secure Checkout with PayPal</div>
      <div class="contentBox">
          <form name="PayPal_ExpressCheckout_form"  action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
            <p><input type="image" alt="PayPal Express Checkout" name="PayPal_ExpressCheckout_button" id="PayPal_ExpressCheckout_button"  src="WA_eCart/PP_ECO_Scripts/btn_xpressCheckoutsm.gif" />
          <p>Save time. Checkout securely.<br />Pay without sharing your financial information.</p>
        </form>
      </div>
      <br />
      <?php ?>
<?php 
?>



As for altering the user login portion this is a built in part of the PowerStore that is relied on further in the process. Removing this functionality can be difficult and will require some custom coding beyond just removing it from the checkout page.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...