Latest News: (loading..)
fulluvscents

Simple Checkout - for 2.3.1 (official support thread)

368 posts in this topic

When I try and add more than one different products to the cart and checkout I get this error...

 

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

 

This problem can sometimes be caused by disabling or refusing to accept

cookies.

 

FYI...my shop has been motified to allow a customer to add more than one different size attribute to there order. (they can add and order one small, 2 mediums, 3 larges on the product info page.)

 

Love the addon. Any help would be appreciated...

Share this post


Link to post
Share on other sites

AWESOME. The order gets processed now. It works the best if you click the stock "checkout" button on the shopping cart then click "checkout with Paypal" on checkout.php. Paying with Paypal this way will take you to a "thank you" page and the order is processed correctly. This is the only way it will work but it's better than what it was. Thank You for your help getting this working. I will just remove the "checkout by paypal" on the shopping cart and the "confirm order" button on checkout.php. This will force customers to create an account and then use paypal to pay. Thanks so much for all your work on this.

 

Jeff

Share this post


Link to post
Share on other sites

Thanks so much for this addon , really nice work but my problem im getting a error from paypal

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

im using paypal payments standard

 

also the Quantity field ( im using OSC for paying rent online and setting the amount of rent as the quantity the price $1.00) every time I try to input say 300 I can only input 1 number at a time, this may be confusing to tenant

 

also since im not shipping a product I dont want any shipping I tried taking out shipping methods

and I get error Shipping selection error you must select shipping method, but when I turn on shipping with zero amount no error but I prefer not to show shipping

 

Thank you so much for this excellent addon

Share this post


Link to post
Share on other sites

@@fulluvscents, still the same undefined error. I tried a few things myself, with the same results. This crazy, there's no error in the code, and yet... argh!

 

Hi Jetta,

 

I have finally got around to testing your baby (w00t) and wow I like it!

 

I too also get the parse error when creating an account but if you then click the checkout button again the account has been created and goes direct to the payment/shipping page.

 

A couple of suggestions I have are:

 

1. The input fields seem a little short in width, maybe it would be worth adding an extra css style to define the width of the input fields.

 

2. A thought would be to not show the 'Sign In' or 'Guest Checkout' buttons if the customer has opted to create an account. If anything a 'Back' button would be more suitable if anything. The same would also apply for the buttons on the guest checkout.

 

Apart from the above I can not think of anything else, great work, very well done.

 

Mark

Share this post


Link to post
Share on other sites

@@pantarra

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

I'm not sure about that one.

every time I try to input say 300 I can only input 1 number at a time

 

in checkout.php, FIND:

$('input', $('#cartContent')).bind('keyup', checkout.cartUpdate);

change to:

$('input', $('#cartContent')).bind('change', checkout.cartUpdate);

 

also since im not shipping a product I dont want any shipping

I uploaded a new version (1.4) to fix this. I do believe the general consensus is that a cart weight of zero means that no shipping should be required.

Share this post


Link to post
Share on other sites
Hi Jetta,

 

I have finally got around to testing your baby (w00t) and wow I like it!

 

I too also get the parse error when creating an account but if you then click the checkout button again the account has been created and goes direct to the payment/shipping page.

 

A couple of suggestions I have are:

 

1. The input fields seem a little short in width, maybe it would be worth adding an extra css style to define the width of the input fields.

 

2. A thought would be to not show the 'Sign In' or 'Guest Checkout' buttons if the customer has opted to create an account. If anything a 'Back' button would be more suitable if anything. The same would also apply for the buttons on the guest checkout.

 

Apart from the above I can not think of anything else, great work, very well done.

 

 

Mark

 

The undefined error reference above was related to an add-on, not part of the checkout. This is the first I've heard of the parse error on create account. I'm interested in seeing it, since I'm not able to replicate it.

 

Styling is a matter of personal preference. Just change/add/remove classes and apply them as you see fit. Classes are in the <style> tags and the input fields are at the bottom of the page, with a little bit scrambled through the top 1/3 of the page ($action section).

 

A back button could be implemented, but honestly, it is what it is now, and unless it's a certifiable bug, I don't plan on changing anything else.

Share this post


Link to post
Share on other sites

The undefined error reference above was related to an add-on, not part of the checkout. This is the first I've heard of the parse error on create account. I'm interested in seeing it, since I'm not able to replicate it.

 

Unfortunately I am running the test store locally so can not show you the error happening. The store is vanilla with no mods done.

 

Styling is a matter of personal preference. Just change/add/remove classes and apply them as you see fit. Classes are in the <style> tags and the input fields are at the bottom of the page, with a little bit scrambled through the top 1/3 of the page ($action section).

 

A back button could be implemented, but honestly, it is what it is now, and unless it's a certifiable bug, I don't plan on changing anything else.

 

I have already started styling the fields.

 

Mark

Share this post


Link to post
Share on other sites

I'm trying to merge OPC second version with UPSXML, USPS and Authorize.net. There isn't an emoticon ever created to express the frustration. lol!

 

I've followed OPC since PupStar's original post.

 

It doesn't seem like too unusual a configuration, so I was wondering if anybody has successfully gotten OPC to work with Authorize and UPS?

Share this post


Link to post
Share on other sites

@@dog-toyz

 

The dialog boxes are in the following code:

 

Find:

$('#message').dialog(
 {
 shadow: true,
 modal: false,
 draggable: false,
 resizable: false,
 closeOnEscape: false,
 position: ['center', 50],
 width: 480,
 height: 75,
 open: function ()
  {
  $('.ui-dialog-titlebar', $(this).parent()).hide();
  setTimeout(function (){$('#message').dialog('close');$('#messagecontent').empty();}, 2000);
  }
 });
$('#loader').dialog(
 {
 shadow: false,
 modal: true,
 draggable: false,
 resizable: false,
 closeOnEscape: false,
 position: ['center', 100],
 width: 75,
 height: 100,
 open: function ()
  {
  $('.ui-dialog-titlebar', $(this).parent()).hide();
  $(this).parent().addClass('nobord');
  },
 });
 $('#account').dialog(
 {
 shadow: true,
 draggable: false,
 resizable: false,
 closeOnEscape: false,
 width: 400,
 position: ['center', 100],
 open: function ()


$('#addresses').dialog(
{
shadow: false,
modal: true,
width: 400,
position: ['center', 100],
open: function ()

 

Under position: change the number 100 to move the placement of the boxes up or down.

 

Thanks for your reply, now I'm having trouble with the box when it expands as I need it to be inside another div so it expands with it.

Is there any way I can place the dialog boxes inside another div?

 

e.g.

<div class="contentContainer">
<div class="contentPadd">
DIALOG BOXES
</div>
</div>

Share this post


Link to post
Share on other sites

thank you for your help

I reinstalled everything from scratch I have no other addons when I use paypal express it works fin, but i need customer to be loged in so paypal express dosnt work for me when I use paypal standard I still get this message from paypal

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

 

thanks agin for your help

Share this post


Link to post
Share on other sites

@@Tabula_Rasa, this ain't OPC. This is completely new work written from scratch by the most honorable @@fulluvscents, the OP of this thread.

 

Thanks. Sorry. I found this with the deprecation of OPC and figured it was a do-over. :D

 

Anyway, the question stands: Authorize, UPS, USPS? :D

Share this post


Link to post
Share on other sites

Thanks. Sorry. I found this with the deprecation of OPC and figured it was a do-over. :D

 

Anyway, the question stands: Authorize, UPS, USPS? :D

 

so are you using OPC or Simple Checkout???

Share this post


Link to post
Share on other sites

so are you using OPC or Simple Checkout???

 

I started using versions of OPC, but when I got to the end of the OPC forum thread, I followed the instructions to deprecate OPC and install the new version ...?

 

I have a back-up of every version I've gone through before any changes, so I can back up.

Share this post


Link to post
Share on other sites

I started using versions of OPC, but when I got to the end of the OPC forum thread, I followed the instructions to deprecate OPC and install the new version ...?

 

I have a back-up of every version I've gone through before any changes, so I can back up.

 

http://forums.oscommerce.com/topic/374407-one-page-checkout-for-oscommerce-231/page__st__160 page 9 and 10.

Share this post


Link to post
Share on other sites

thank you for your help

I reinstalled everything from scratch I have no other addons when I use paypal express it works fin, but i need customer to be loged in so paypal express dosnt work for me when I use paypal standard I still get this message from paypal

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

 

thanks agin for your help

 

Paypal express works but I need user to be loged in is there away to take off paypal express button from the shopping cart.php page? everything would work then

Share this post


Link to post
Share on other sites

Paypal express works but I need user to be loged in is there away to take off paypal express button from the shopping cart.php page? everything would work then

 

to remove the option from shopping_cart.php comment out this code:

 

<?php
   $initialize_checkout_methods = $payment_modules->checkout_initialization_method();
   if (!empty($initialize_checkout_methods)) {
?>
 <p align="right" style="clear: both; padding: 15px 50px 0 0;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></p>
<?php
  reset($initialize_checkout_methods);
  while (list(, $value) = each($initialize_checkout_methods)) {
?>
 <p align="right"><?php echo $value; ?></p>
<?php
  }
   }
?>

 

Regards

 

Mark

Share this post


Link to post
Share on other sites

Hi all

I've installed this add-on using the 'drop-on-top' method. I renamed the sql.txt to sql.php and ran by calling from /website/sql.php, is this the correct way? I'm thinking not...

 

When I go into admin > configuration I do not have a checkout option.

 

This is on a fresh install of OSC, downloaded and installed yesterday.

 

I really like the idea of improving the checkout process, a long drawn-out process always puts me off making online purchases.

 

thanks

Share this post


Link to post
Share on other sites

@@PJ_Willow, do you have access to any database frontend on your server such as phpMyAdmin? It's quite a straightforward to run the SQL query there.

Share this post


Link to post
Share on other sites

Yep I do, don't know why I didn't realise that I use PHPmyadmin all the time. :huh: I take it that will resolve the configuration > checkout issue

Share this post


Link to post
Share on other sites

@@oxwivi

 

Awe, you're sweet, but be nice.

 

@@dog-toyz

 

Yes. The jquery for the dialogs is in the place varina pointed out. The html for the divs is at the bottom of the checkout.php file with IDs to identify them. Just wrap your divs around those.

 

@@Tabula_Rasa

 

edited - I missed an entire page of discussion. I see (or at least it appears) that you've got it figured out now.

Edited by fulluvscents

Share this post


Link to post
Share on other sites

Thanks for converting this for me. Unfortunately it didn't do what it was supposed to. I got a input text box instead of my item name. Without any coding in checkout.php I got the same thing yesterday. So it looked all pretty but didn't do anything. :(

 

I double checked the add on's coding in 3 page checkout, and while it kind of worked, it didn't quite give me what I wanted with more than one item in the cart.

 

I need to abandon that add on and find a better one. Grr...

 

It is so annoying that they changed the Paypal checkout from v 2.2. I really liked the itemized descriptions...now I have to try and find something else that will work.

 

 

Same issue here as Varina had with the product descriptions carrying through to PayPal. Looks like she used the same mod I did. It works on the stock 2.3.1 checkout process but I tried to install this on Simble Checkout and on a trial run up to the PayPal page, where the Store and/or the Product used to be was a blank box.

 

So that would be good to have sometime along the way.

 

BTW...just installed this yesterday and was pleased not only that the checkout was consolidated efficiently but the presentation of the checkout page is very professional. I like the way the existing shop color scheme carries through on the checkout page. Outstanding work Jetta.

Share this post


Link to post
Share on other sites

thank you for your help

I reinstalled everything from scratch I have no other addons when I use paypal express it works fine, but i need customer to be loged in so paypal express dosnt work for me when I use paypal standard I still get this message from paypal

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

 

although paypal express works paypal shows the transaction on paypal looks like this

Pay Rent OnlinePay Rent Online $575.00

  • Item number: 29
  • Item price: $1.00 <======I dont want this showing
  • Quantity: 575 <======I dont want this showing

 

when I use paypal standard without 1 page checkout payment goes threw paypal displays this which I prefer, notice item price and quanity

 

Tenants Payments OnlineTenants Payments Online $575.00

  • Item price: $575.00
  • Quantity: 1

when I use your excellent mod with no addons I get the error above, I have the OCS product set to $1.00 and use the quanity to adjust the rent amount to whatever the renters rent is..

 

Id love to have your addon working but I have to use only paypal standard not paypay express

paypal express works paypal standarrd dosnt work

 

Please help

Thank You so much

Share this post


Link to post
Share on other sites

Oh yes, speaking of PayPal, with PayPal Express activated, it's not possible to choose it from the selection list and confirm order. The only way is the PayPal button after the - OR -. Remedy any?

Share this post


Link to post
Share on other sites

@@oxwivi

 

After fussing with it for two days, where I could either get PPExpress to work, or the other mods to work, I realized that with the single page checkout, the only way to use PP Express correctly was to use the button and allow immediate (Express) checkout. However, after moving that code around in checkout_confirmation, it might be possible now to do it the way I originally planned. I will try to look into that again but I've got a few other projects I have to finish up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now