Optional Checkout Review

Contrib type: 
Module
Status: 
Initial upload
Latest version: 
5.x-1.0
Compatibility: 
Ubercart 1.x

Optionally skip the review stage on the Ubercart checkout page. The store admin can set whether checkout review is required in the checkout settings.

PreviewAttachmentSize
uc_optional_checkout_review-5.x-1.0.tar.gz6.7 KB
Joined: 08/20/2008
Juice: 5

This is looking great! However, I think there's a problem with missing fields or invalid CC numbers; if you enable the 'skip review' screen and submit the form with bogus information (using the test CC gateway at least) it displays the error messages, but completes the order instead of bouncing you back to the form to make the corrections.

Joined: 09/03/2008
Juice: 17

this looks really useful to cut out one step in the cart but when I apply it just jumps straight to order complete without sending to protx - we are using protx form method. Am I missing something?

thx - kevster

Joined: 12/17/2008
Juice: 13

I just ran into the same problem, I've made a patch for the problem (attached). The patch should also fix a minor bug with the checkbox for deciding if you want to skip checkout review.

Discussion of this issue can be found here.

AttachmentSize
Patch to validate and return to form before skipping checkout review. 1.7 KB
Joined: 08/29/2008
Juice: 89

Here's a Drupal 6 port. I'm calling it 6.x-1.0-beta1.

This includes the basic idea of the validation patch above, but is more extensive, and takes a different approach because of differences in the D6 FAPI. Any errors which would normally appear on the review page are instead shown on the checkout form page.

I have tested this successfully with the uc_credit module and a custom payment gateway module.

AttachmentSize
uc_optional_checkout_review-6.x-1.0-beta1.tar.gz 7.27 KB
Joined: 04/23/2009
Juice: 103

I notice this line of code:

    // Now submit the form.  Obviously the $form_state isn't actually
    // correct... hopefully nothing will care.
    uc_cart_checkout_review_form_submit($form, $form_state);

What do you mean by the $form_state is not formed correctly? Doesn't it come form the previous function?

Joined: 08/29/2008
Juice: 89

The $form_state is from the uc_cart_checkout_form() submission, and we're passing it to the uc_cart_checkout_review_form() handlers. If you have a better way, I'm all ears.

Joined: 05/01/2009
Juice: 2

If you use Paypal wsp you won't be redirected to the payment page but instead to an order completed page.

Any ideas?

Joined: 06/12/2009
Juice: 5

i think its paypal's requirement to make that page compulsary to show....
may be u can try out with CC , it will work.

Joined: 06/27/2009
Juice: 7

For those like me who are having trouble figuring out how to enable this feature:

1.- Install and Enable the module

2.- Go to Store administration | Configuration | Checkout Settings | Edit
or
/admin/store/settings/checkout/edit/basic

3.- Click on "Skip checkout review" under "General checkout settings" and Save.

Works as a charm by the way Laughing out loud

Joined: 07/27/2009
Juice: 23

Thanks for the module, the D6 port seems to work fine with Ubercart 6.x-2.x.

Joined: 08/03/2009
Juice: 9

thanks for the module. unfortunately paypal express checkout was ignoring the skip review option I set. so I dived into the paypal module and added this to the uc_paypal_ec_review function in uc_paypal.pages.inc before the "$output = ..." line near the end:

  // are we skipping the review form? if so update line items and such like then goto order submit
  $skipreview = variable_get('uc_checkout_skip_review', FALSE);
  if($skipreview){
     $form_state = array();
     drupal_execute('uc_paypal_ec_review_form', $form_state, $order);
     drupal_goto('cart/echeckout/submit');
  }

it seems to do the trick.

but now I'm thinking, the customer has already read about the product, added it to the cart and gone through paypal. do they really want to confirm again? normally when I buy something from using paypal, when I leave paypal, that's it, I've already completed my purchase. when I get sent back to the store site, i get a thank you message, not another confirmation form... so I think I will use the approach above, just to forward the user onto to the thankyou page. I guess you could also allow order comments, but after the order has been automatically confirmed.

cheers,

epg
epg's picture
Joined: 09/26/2009
Juice: 47

I'm using paypal website payments standard as my checkout payment method.

I installed and enabled the module, configured to skip checkout review.

When I click "submit order", I am taken to an "Your order was completed" page, without going through paypal at all!

So the whole payment process was skipped! How to fix this??

Joined: 08/29/2008
Juice: 89

We missed an important detail with this module. The submit button on the review page has a Javascript behavior to disable the submit button when it's clicked, as well as the other button (back).

This patch adds a javascript file with the core behavior copied and modified to work on the checkout form. Apply to uc_optional_checkout_review-6.x-1.0-beta1.tar.gz

AttachmentSize
uc_optional_checkout_review_js.patch 1.45 KB
Joined: 09/18/2008
Juice: 34

I just tried tried this using credit card payment and the test gateway, and it works as expected. Thanks!

Joined: 11/05/2009
Juice: 2

Any way to get this working with PayPal Website Payments Standard? By skipping the review order, it seems the submitted form doesn't have the necessary info/redirect to properly take the user to PayPal.

Joined: 08/29/2008
Juice: 89

It is known that PayPal Website Payments Standard (WPS) doesn't work with this module right now. I don't have the resources to tackle this so someone else will have to jump in and contribute.

Joined: 02/02/2008
Juice: 244

subs

Joined: 10/14/2009
Juice: 88

Subscribing on a Paypal Standard (WPS) usable module.

Joined: 11/26/2009
Juice: 20

Attached is the version with the Paypal Website Payments Standard support. I have also incorporated the JS patch posted above.

It works fine for me but I haven't done too many tests. In my specific setup it works.

AttachmentSize
uc_optional_checkout_review-6.x-1.0-beta2.tar.gz 7.76 KB