Jump to content
hungryfrank

Express checkout 1_2 pages

Recommended Posts

Posted (edited)

this add-on combines the shipping and payment page and can bypasses the checkout confirmation page as an option.

there is no core changes. simply upload and install the header tag module

two folders 4-5 works up to 1.0.5.

5.5 was tested on .2 and .5

https://apps.oscommerce.com/YzQoF&exp-checkout-1-2-page-checkout

thanks to JcMagpie 

 

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites

Error 500 from two versions, OSCOM CE Phoenix v1.0.4.1 is installed

Folder
Shop 4-5 works up 1.0.5
Shop 5.5 works from 1.0.5.2 to 1.0.5.5

Not have any instructions

Share this post


Link to post
Share on other sites
Posted (edited)

Hi Frank @hungryfrank,

I gave this a try on a Phoenix 1.0.5.6 test store without any other modifications.

  • trying to add a new address throws a fatal error in checkout_shipping(payment)_address.php new address form
  • paypal express and direct payment doesn't work. Throws errors
  • stripe sca doesn't work. It jumps over the confirmation page, no opportunity to enter credit card
  • many undefined notice an warning errors
  • usps shipping seems not to work
  • minor suggestion: use standard naming for constants in the header tag module and remove unused/uncommented code lines
  • suggestion: not sure if it makes sense to include additional features like print order option, might be better to pack it separate
  • suggestion: use the core agree to terms switch like in checkout_confirmation.php instead of the old tick box
  • try to debug with error reporting set to "ALL"

I know that it's not easy to get this working and your effort is much appreciated, but without support for widely used payment and shipping modules it is not really useful for the mayority of stores.

Edited by raiwa

Share this post


Link to post
Share on other sites
5 minutes ago, raiwa said:

trying to add a new address throws a fatal error in checkout_shipping(payment)_address.php new address form

That's probably me rather than the App.  I.e. the core 1.0.5.6 has that problem. 


Always back up before making changes.

Share this post


Link to post
Share on other sites
Posted (edited)

this should work with all modules and add-ons.

there is a line in the original code that is commented out and I uncommented it which created this problem and only when there is only one shipping method. 

I will work one the rest. thx for the help.

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites

this is a pretty simple thing. I originally made the fec checkout. years ago. I think it was the first before I got banned 😂😂😂

I just put the two form element in one page.and the processing also. just copy and paste. 

 


you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites
14 minutes ago, hungryfrank said:

this should work with all modules and add-ons.

I agree that it should, but unfortunately it doesn't.

Share this post


Link to post
Share on other sites

https://github.com/yenoyen/oscommerce-Express-checkout-1-2-pages

  1. Typos <br />
  2. Scripts moved to html/body
  3. Deleted white spaces (EOF)
  4. Renamed modules - files, class, variables ht_exp_account => ht_exp_checkout
  5. Removed BS system colors from Delivery/Pament Methods tables (was confusing to use them this way)
  6. Invoice.php - cleaned little bit but it's still messy. Printing doesn't work. Agree with Rainer, it should be an independent module.

 

 

Share this post


Link to post
Share on other sites

thank you very much for your interest, 

as it is I think we have to use confirmation page for some of payment modules 

ii am trying to figure out how to overcome this problem.

just thinking out loud, maybe the confirmation.php canbe  moved in the payment_ajax.php 

Invoice.php:  this is not an invoice. at this stage there is no payment made, so it is just a pre order.  So it is only usable for this add-on. there is no point in separating it. either have it or not. so I left it as a choice.

 

 

 

 


you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites
21 hours ago, hungryfrank said:

this is a pretty simple thing. I originally made the fec checkout. years ago. 😂😂😂

You made it ???? or @rfwoolf or are you using multiple user accounts???

https://apps.oscommerce.com/XRvq5&fast-easy-checkout

Share this post


Link to post
Share on other sites
Posted (edited)
5 minutes ago, raiwa said:

You made it ???? or @rfwoolf or are you using multiple user accounts???

https://apps.oscommerce.com/XRvq5&fast-easy-checkout

I made it the original one and I was banned years ago. and came back years later.

just cut and paste

nana

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites
Posted (edited)

 

I have made some changes, and they should work.  without confirmation page

I think  they should work.😊

I am on php 7.1 so don't see error with the exception of  cc# and they shouldn't be difficult to see.

checkout_payment_exp.php

checkout_confirmation_ajax.php

also I have only done for one but the jjquery has to be added to pass the value of input fields in payment module to checkout_confirmation_ajax.php

 

 

 

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites
Posted (edited)

I think with these I am almost done 

the onnnly thing is the validationn. I think and checking for errors on 7.3

for one thing  I need to stop the payment module to be selected if there is a validation error

I use the    check_form();   to get the error which works, but after the popup error warning. it still selects the payment module.

for example the cc# is not filled but it still choses the payment. I want it to not choose the module till the error is resolved.

 

 

checkout_payment_exp.php

checkout_confirmation_ajax.php

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites
Posted (edited)
On 4/3/2020 at 6:02 PM, hungryfrank said:

when do you get the error ?  shop4-5 is what you have to use. 

how many shipping modules do u have?

I have 5 modules, only 3 active. the same for payment.

With Initial version, uninstall and install again and work, but fail if you change type of shipping, push update button and not update totals, and other times in the size of button show page how in an iframe o_O

I think this extension need ajax for not need to click a button for update,
and option for enable or disable agree option,
the print function see beautiful but I think can distract or confuse the customer and this option is more good for after checkout when success, not before or both pre and post order...

the boxes on the right, from the order details not show how your capture, are separated and scattered, the payment method box is even shown below observations, if are more compact and continue not need to scroll so much and is more near visuality.

image.thumb.png.1dc69d384ee5c2d68921751dc6975c4f.png

On 4/4/2020 at 8:39 AM, hungryfrank said:

try 

checkout_payment_exp.php 

and shop4-5.  

 

With this version, when click update total not update and get checkout success.

4 hours ago, hungryfrank said:

I think with these I am almost done 

the onnnly thing is the validationn. I think and checking for errors on 7.3

for one thing  I need to stop the payment module to be selected if there is a validation error

I use the    check_form();   to get the error which works, but after the popup error warning. it still selects the payment module.

for example the cc# is not filled but it still choses the payment. I want it to not choose the module till the error is resolved.

 

 

checkout_payment_exp.php

checkout_confirmation_ajax.php

With this get error 500 too.

Please update you app in store and add a little doc. Thanks

Edited by domiosc
add image

Share this post


Link to post
Share on other sites
9 minutes ago, domiosc said:

and option for enable or disable agree option,
the print function see beautiful but I think can distract or confuse the customer and this option is more good for after checkout when success, not before or both pre and post order..

Agree option can also be used as order confirmation 😀 I think this is for legal agreements. So Only need to update total if change method of shipping and a little makeup ^^

If print function is pre order and open, or open in blank page or block to close page with alert, you may think you are closing the print but are close the order confirmation.

Share this post


Link to post
Share on other sites
Posted (edited)

I uploaded a new version.

thanks to @raiwa tips, I made some changes.

@domiosc  you can turn off the invoice from admin.  I will make the t&c optional in the next update.

@yeno I don't know how to use GitHub. but I can use the help for sure.

I added the checkout_confirmation also to the page via Ajax. 

this way more of payment modules will work, with one page only.  some still might need the 2 page option.

if you use it and it works on your shipping modules and payment modules please let me know,

thanks

 

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites
Posted (edited)

did some work on error reporting
changed the references of checkout_payment.php and checkout_shipping.php to checkout_payment_exp.php
added option to bypass create_account_success.php  one less step 
made T&C optional.

uploaded new version.

it should work with all payment methods that don't have input form in the checkout_payment.php without confirmation page

can be adopted to work with them also like PSiGate. I have made sample changes for that payment module

 

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Share this post


Link to post
Share on other sites

Good work now run, I think button recalculate total no longer needed, because if you change option recalculate correctly.

I like to view the print option in checkout confirmation.

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, domiosc said:

Good work now run, I think button recalculate total no longer needed, because if you change option recalculate correctly.

I like to view the print option in checkout confirmation.

there are print orders for that. other aadd ons  I have the other one because at that. stage there is no order yet so the other addons won't work

thanks

Edited by hungryfrank

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

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

×