close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Checkout button

Thread began 7/28/2012 2:59 pm by barkmail | Last modified 8/01/2012 11:04 am by Jason Byrnes | 1979 views | 5 replies |

barkmail

Checkout button

On Paypal standard trying to set up.

Paypal is telling me to not provide any shipping or billing info to them...the customer will input billing/shipping info within Paypal. They can only receive a single address.

So. I am trying to put a checkout form onto my shopping cart page. I have inserted the form, and have 3 challenges.

***First, the checkout button does not take the user anywhere. I need it to go to Paypal sandbox.

***Second, I get the following at the bottom of the page:
<<MM REPEATED REGION>

***the summit order button is HUGE

Attached Files
shoppig cart.zip
Sign in to reply to this post

Jason ByrnesWebAssist

to add a paypal standard checkout form to the cart display page, delete the checkout button, then place the cursor outside of the main cart display form and go to insert -> WebAssist -> eCart -> Insert Checkout Form. for the form type, select Remote Checkout, and select PayPal Standard as the gateway.

Sign in to reply to this post

barkmail

This is what I did:
deleted existing checkout button
inserted checkout form after the cart program, and selected remote paypal standard
modified 2 option fields (os1 and on1) for each option - style and engraving
linked all 4 of these fields with the style or engraving attribute

Still...
***First, the checkout button does not take the user anywhere. I need it to go to Paypal sandbox. How do I program this in?

***Second, I get the following at the bottom of the page:
<<MM REPEATED REGION>
How do I get rid of this?

***the summit order button is HUGE! How do I make it smaller?

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the page and a link where i can see the problem.

Sign in to reply to this post

barkmail

Here is the link, but you have to enter in information to see the page...

So...here is a page that you can start at - buy the small ID tag:
tagsrd.php

cart.php
___________________________________

I have attached the cart.php file.

Thank you for your help.

Attached Files
cart.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you have the paypal form inside the cart display form.


change the following code:

php:
<form name="checkout_PP_LI_Hid"  action="https://www.sandbox.PayPal.com/cgi-bin/webscr" method="post">

    <table class="eC_ButtonWrapper" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><input type="hidden" name="business" id="business" value="seller_1341608391_biz@comcast.net" />
          <?php $Nitrodog_Index $Nitrodog->DisplayIndex 1;?>
          <?php
while (!$Nitrodog->EOF())      {
?>
            <?php $Nitrodog_Index ++;?>
            <?php //WA eCart Validation 
if ((WA_eCart_FormatNumber($Nitrodog->DisplayInfo("Price") - (($Nitrodog->DisplayInfo("Price")/$Nitrodog->TotalColumn("TotalPrice")) * $Nitrodog->GetDiscounts()), false2) > 0)) {
?>
              <input type="hidden" name="amount_<?php echo $Nitrodog_Index+1?>" id="amount_<?php echo $Nitrodog_Index+1?>" value="<?php echo WA_eCart_FormatNumber($Nitrodog->DisplayInfo("Price") - (($Nitrodog->DisplayInfo("Price")/$Nitrodog->TotalColumn("TotalPrice")) * $Nitrodog->GetDiscounts()), false2?>" />
              <input type="hidden" name="item_name_<?php echo $Nitrodog_Index+1?>" id="item_name_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Name"?>" />
              <input type="hidden" name="item_number_<?php echo $Nitrodog_Index+1?>" id="item_number_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("ID"?>" />
              <input type="hidden" name="quantity_<?php echo $Nitrodog_Index+1?>" id="quantity_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Quantity"?>" />
    <input type="hidden" name="on0_<?php echo $Nitrodog_Index+1?>" id="on0_<?php echo $Nitrodog_Index+1?>" value="Style" /> 
<input type="hidden" name="os0_<?php echo $Nitrodog_Index+1?>" id="os0_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Style"?>" /> 
<input type="hidden" name="on1_<?php echo $Nitrodog_Index+1?>" id="on1_<?php echo $Nitrodog_Index+1?>" value="Engraving" /> 
<input type="hidden" name="os1_<?php echo $Nitrodog_Index+1?>" id="os1_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Engraving"?>" /> 
              <?php //WA eCart Validation 
}
  else {
    
$Nitrodog_Index --;
  }
?>
            <?php
  $Nitrodog
->MoveNext();
}
$Nitrodog->MoveFirst();
?>
          
          <input type="hidden" name="cancel_return" id="cancel_return" value="http://www.nitrodog.com/checkout.php" />
          <input type="hidden" name="return" id="return" value="http://www.nitrodog.com/checkout.php" />
          <input type="hidden" name="cmd" id="cmd" value="_cart" />
          <input type="hidden" name="upload" id="upload" value="1" />
          <input type="hidden" name="currency_code" id="currency_code" value="USD" />
          
          <input type="hidden" name="bn" id="bn" value="WebAssist.eCartPHP.Pro" />
          <input type="image" name="Submit_order" id="Submit_order" value="Checkout" alt="Submit order"  src="WA_eCart/Images/Slate/Btn1_EN_submitorder.gif" class="eC_ImageButton"  /></td>
      </tr>
    </table>
  </form>
</div>

</form>




to:

php:
</div>


</form>
<form name="checkout_PP_LI_Hid"  action="https://www.sandbox.PayPal.com/cgi-bin/webscr" method="post">
    <table class="eC_ButtonWrapper" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><input type="hidden" name="business" id="business" value="seller_1341608391_biz@comcast.net" />
          <?php $Nitrodog_Index $Nitrodog->DisplayIndex 1;?>
          <?php
while (!$Nitrodog->EOF())      {
?>
            <?php $Nitrodog_Index ++;?>
            <?php //WA eCart Validation 
if ((WA_eCart_FormatNumber($Nitrodog->DisplayInfo("Price") - (($Nitrodog->DisplayInfo("Price")/$Nitrodog->TotalColumn("TotalPrice")) * $Nitrodog->GetDiscounts()), false2) > 0)) {
?>
              <input type="hidden" name="amount_<?php echo $Nitrodog_Index+1?>" id="amount_<?php echo $Nitrodog_Index+1?>" value="<?php echo WA_eCart_FormatNumber($Nitrodog->DisplayInfo("Price") - (($Nitrodog->DisplayInfo("Price")/$Nitrodog->TotalColumn("TotalPrice")) * $Nitrodog->GetDiscounts()), false2?>" />
              <input type="hidden" name="item_name_<?php echo $Nitrodog_Index+1?>" id="item_name_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Name"?>" />
              <input type="hidden" name="item_number_<?php echo $Nitrodog_Index+1?>" id="item_number_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("ID"?>" />
              <input type="hidden" name="quantity_<?php echo $Nitrodog_Index+1?>" id="quantity_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Quantity"?>" />
    <input type="hidden" name="on0_<?php echo $Nitrodog_Index+1?>" id="on0_<?php echo $Nitrodog_Index+1?>" value="Style" /> 
<input type="hidden" name="os0_<?php echo $Nitrodog_Index+1?>" id="os0_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Style"?>" /> 
<input type="hidden" name="on1_<?php echo $Nitrodog_Index+1?>" id="on1_<?php echo $Nitrodog_Index+1?>" value="Engraving" /> 
<input type="hidden" name="os1_<?php echo $Nitrodog_Index+1?>" id="os1_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Engraving"?>" /> 
              <?php //WA eCart Validation 
}
  else {
    
$Nitrodog_Index --;
  }
?>
            <?php
  $Nitrodog
->MoveNext();
}
$Nitrodog->MoveFirst();
?>
          
          <input type="hidden" name="cancel_return" id="cancel_return" value="http://www.nitrodog.com/checkout.php" />
          <input type="hidden" name="return" id="return" value="http://www.nitrodog.com/checkout.php" />
          <input type="hidden" name="cmd" id="cmd" value="_cart" />
          <input type="hidden" name="upload" id="upload" value="1" />
          <input type="hidden" name="currency_code" id="currency_code" value="USD" />
          
          <input type="hidden" name="bn" id="bn" value="WebAssist.eCartPHP.Pro" />
          <input type="image" name="Submit_order" id="Submit_order" value="Checkout" alt="Submit order"  src="WA_eCart/Images/Slate/Btn1_EN_submitorder.gif" class="eC_ImageButton"  /></td>
      </tr>
    </table>
  </form>




so that the paypal form is outside the cart display form.


for the button sixe, edit the WA_eCart/CSS/eC_Simple_Slate_Arial.css file. change:

.eC_Simple_Slate_Arial input, .eC_Simple_Slate_Arial textarea{
font-size:medium;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
width: 500px;
border-top-width: thin;
border-right-width: thin;
border-bottom-width: thin;
border-left-width: thin;
}




to:

.eC_Simple_Slate_Arial input, .eC_Simple_Slate_Arial textarea{
font-size:medium;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
/*width: 500px;*/
border-top-width: thin;
border-right-width: thin;
border-bottom-width: thin;
border-left-width: thin;
}
Sign in to reply to this post

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...