Jump to content
NimaP

One Page Checkout Support

Recommended Posts

I now have the same problem... :(

 

Have anyone found the solution?

you could make sure all the javascript parts is inside the <head></head> tags as IE8 doesnt like javascript before the <head> tag

 

Steve

Share this post


Link to post
Share on other sites

:blush:

 

Do i have to go trough all of the files in ocommerce or is there some special files you could suggest?

 

Im a self learner so ontherwise i will go trough the whole oscommerce *lol*

Share this post


Link to post
Share on other sites

Hi all

 

Have had OPC running for a while now with no problems.

 

Have now installed Payoff-line pro payment module and it will not show in OPC the only time I can see it in OPC is when the page is refreshing and then it disappears again. Has anyone any ideas.

 

Thanks in advance

 

Liam

Share this post


Link to post
Share on other sites

:blush:

 

Do i have to go trough all of the files in ocommerce or is there some special files you could suggest?

 

Im a self learner so ontherwise i will go trough the whole oscommerce *lol*

just checkout.php file only to check

 

Steve

Share this post


Link to post
Share on other sites

Hi all

 

Have had OPC running for a while now with no problems.

 

Have now installed Payoff-line pro payment module and it will not show in OPC the only time I can see it in OPC is when the page is refreshing and then it disappears again. Has anyone any ideas.

 

Thanks in advance

 

Liam

Hi Liam,

 

do you an error log to see if there is any error or warning that is coming up?

 

Steve

Share this post


Link to post
Share on other sites

Hi

 

Where would I find the error log for this as the OPC is still functioning even though it is not showing the other payment option.

 

as you can see when it is refreshing there are to payment options.

 

 

Screenshot.png

 

 

But when refresh has finished it disappears.

 

 

Screenshot-1.png

 

 

Would really like to have this functioning in OPC as this is a quality contribution

 

Regards

 

Liam

Share this post


Link to post
Share on other sites

Hi Steve,

 

Thanks for the pointer. Sadly it's not worked in my case - according to firebug, it's hanging @ line 1565 of checkout.js -

 

1554 setPaymentMethod: function ($button){
1556
1557   var checkoutClass = this;
1558
1559   this.setModuleMethod('payment', $button.val(), function (data){
1560
1561
1562
1563      if (typeof(data.id) !="undefined"){
1564
1565          selectedM = $(eval(data.id));

 

And throwing the error 'amoneybookers_ipn is not defined' or 'moneyorder is not defined', dependent on which payment method is selected.

 

I don't suppose you have any other suggestions?

 

Many thanks and best regards,

Chris Wood

 

I wonder if anyone have found solution for this problem? Im trying get this work with own payment method, that have developed from paypal module.

I tho get that "is not defined" -error.

Share this post


Link to post
Share on other sites

just checkout.php file only to check

 

Steve

 

Seems ok..

 

hm, i really dont know how to solve this.. if someone have the solution please post here.. :)

Share this post


Link to post
Share on other sites

Seems ok..

 

hm, i really dont know how to solve this.. if someone have the solution please post here.. :)

Do you have any other javascripts on your site that might be using jquery?

Share this post


Link to post
Share on other sites

Hi

 

Where would I find the error log for this as the OPC is still functioning even though it is not showing the other payment option.

 

as you can see when it is refreshing there are to payment options.

 

 

Screenshot.png

 

 

But when refresh has finished it disappears.

 

 

Screenshot-1.png

 

 

Would really like to have this functioning in OPC as this is a quality contribution

 

Regards

 

Liam

Hi Liam

 

includes/checkout/payment_selection.php

 

look carefully wou will see a line commented out and one not commented out for payment_selected, sorry i dont have 1.3 on my site or have it downloaded to show you the exact code

 

Steve

Share this post


Link to post
Share on other sites

Hello,

 

Great contrib,

 

Looks amazing,

 

Has anyone managed to get this working with Sage Pay Form?

 

At present when i click on the button to proceed to Sage Pay nothing happens...

 

Help!

Share this post


Link to post
Share on other sites

Hello,

 

Great contrib,

 

Looks amazing,

 

Has anyone managed to get this working with Sage Pay Form?

 

At present when i click on the button to proceed to Sage Pay nothing happens...

 

Help!

hi try the search at the bottom of the forum, i think someone has made some commnets on sagepay

 

Steve

Share this post


Link to post
Share on other sites

Hello,

I have shipping methods based on city. How to make shipping method only appears after billing/shipping address has been filled in checkout.php? Is there any script needs to be added in checkout/shipping_method.php? Especially when Require Login set to false in Admin area. Please help. Thanks.

 

fredy

Share this post


Link to post
Share on other sites

Hello,

 

First of all, congratulations for this great contribution!

 

I have installed it on my shop, but I get some problem with refresh when choosing payment method. The "Loading" message shows up but never disappears. (see image)

Any idea of what can be happening?

 

opcscreenshot.jpg

 

 

Thanks a lot for your help

Share this post


Link to post
Share on other sites

Hello,

I have shipping methods based on city. How to make shipping method only appears after billing/shipping address has been filled in checkout.php? Is there any script needs to be added in checkout/shipping_method.php? Especially when Require Login set to false in Admin area. Please help. Thanks.

 

fredy

Hi Fredy,

 

It will be in includes/checkout/ shipping and payment just look for the java bit that updates the shipping and move it to the city field

 

Steve

Share this post


Link to post
Share on other sites

Hello,

 

First of all, congratulations for this great contribution!

 

I have installed it on my shop, but I get some problem with refresh when choosing payment method. The "Loading" message shows up but never disappears. (see image)

Any idea of what can be happening?

 

opcscreenshot.jpg

 

 

Thanks a lot for your help

Hi

 

includes/checkout/payment_method.php

 

find

//			  $confirmation = $GLOBALS[$selection[$i]['id']]->selection();
		  $confirmation = $GLOBALS[$selection[$i]['id']]->confirmation();

 

change it to

			  $confirmation = $GLOBALS[$selection[$i]['id']]->selection();
//			  $confirmation = $GLOBALS[$selection[$i]['id']]->confirmation();

 

Steve

 

something like payment selection

Share this post


Link to post
Share on other sites

not sure if i should post this in the paypal sections or here

i am expiriancing a problem with paypal standard orders, in that, i am getting all of the information apart from the telephone number of the customer, even through i got it set to a required field, (which i added myself, becuase i needed it before the current version came out)

the other payment gateway that is being used (sagepay) gets the telephone number completly fine

 

one page checkout version One Page Checkout 1.08

paypaal version: PayPal Website Payments Standard, (on all orders from paypal we get PayPal IPN Verified [Completed (Unverified; £amount)]

amount is the order total


App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites

When using paypal express checkout I get the following error message:

Fatal error: Call to a member function on a non-object in /homepages/5/d180349627/htdocs/my_store/includes/classes/onepage_checkout.php on line 947

tried to place another order right away and I get this error instead:

Express Checkout token is missing.

 

any suggestion on how I can fix it?

Share this post


Link to post
Share on other sites

not sure if i should post this in the paypal sections or here

i am expiriancing a problem with paypal standard orders, in that, i am getting all of the information apart from the telephone number of the customer, even through i got it set to a required field, (which i added myself, becuase i needed it before the current version came out)

the other payment gateway that is being used (sagepay) gets the telephone number completly fine

 

one page checkout version One Page Checkout 1.08

paypaal version: PayPal Website Payments Standard, (on all orders from paypal we get PayPal IPN Verified [Completed (Unverified; £amount)]

amount is the order total

Hi

 

open up the payment mod /includes/modules/payment.php

 

and add the telephone field simply copy the code over from checkout_process.php

 

Steve

Share this post


Link to post
Share on other sites

ok im on holiday till 6th of August so please use the search box at bottom of this forum before posting to keep posts down that i will have to go through when i get back

Share this post


Link to post
Share on other sites

Hi

 

open up the payment mod /includes/modules/payment.php

 

and add the telephone field simply copy the code over from checkout_process.php

 

Steve

i had a look and i already had

'customers_telephone' => $order->customer['telephone'],

 

which is the same as what i had within checkout process, and is in the same place, in both files.

and there are no other barts for telephone number within the checkout process.

Edited by puddlec

App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites

Hi

 

includes/checkout/payment_method.php

 

find

//			  $confirmation = $GLOBALS[$selection[$i]['id']]->selection();
		  $confirmation = $GLOBALS[$selection[$i]['id']]->confirmation();

 

change it to

			  $confirmation = $GLOBALS[$selection[$i]['id']]->selection();
//			  $confirmation = $GLOBALS[$selection[$i]['id']]->confirmation();

 

Steve

 

something like payment selection

 

Thanks! :-) I need to adjust a few things but it works fine now!

Share this post


Link to post
Share on other sites

In the latest version 1.3 I've found 26 instances of the site name ShedsForLessDirect in hardcoded messages in the following files: checkout.php and includes\checkout\checkout.js

I've replaced 'ShedsForLessDirect' in my files with 'IT Support'.

Share this post


Link to post
Share on other sites

I'm having the same problem. Are there any other quick fixes other than changing Shedforlessdirect for IT Support. I'm new at all this. Anybody?

Share this post


Link to post
Share on other sites

So i followed all the instructions for the "One Page Checkout" contribution and when i was done nothing in my store changed!

There are still 4 pages of checkout, and there are no option in the admin for One Page Checkout.

 

Problems I had with the instructions are

One of the steps is

 

in catalog/includes/modules/payment/paypal_standard.php

AFTER

 

global $cart

 

 

ADD

 

/* One Page Checkout - BEGIN */

global $onePageCheckout;

/* One Page Checkout - END */

 

While "global $cart" is not to be found in catalog/includes/modules/payment/paypal_standard.php !!

 

 

The very next step in the same file is-

 

AFTER

 

$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .

EMAIL_SEPARATOR . "\n" .

$products_ordered .

EMAIL_SEPARATOR . "\n";

 

for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) {

$email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n";

}

 

 

ADD

 

/* One Page Checkout - BEGIN */

$sendToFormatted = tep_address_label($customer_id, $sendto, 0, '', "\n");

if (ONEPAGE_CHECKOUT_ENABLED == 'True'){

$sendToFormatted = $onePageCheckout->getAddressFormatted('sendto');

}

 

$billToFormatted = tep_address_label($customer_id, $billto, 0, '', "\n");

if (ONEPAGE_CHECKOUT_ENABLED == 'True'){

$billToFormatted = $onePageCheckout->getAddressFormatted('billto');

}

/* One Page Checkout - END */

 

While this has already been done!!

 

 

Some of the last steps include editing these files which dont exist in my catalog!!

 

catalog/includes/modules/payment/protx_direct.php

catalog/protx_process.php

 

 

 

Any help????

 

Kurt

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

×