mediadial Posted March 15, 2006 Posted March 15, 2006 totals are not passed onto the paypal site checkout page... When customer fills out his order and clicks onto the confirmation page and shows.... Sub-Total: $2.99 Flat Rate (Best Way): $50.00 Total: $52.99 on the checkout_confirmation.php It should then pass this onto paypal checkout page on their site but paypal displays a blank box and 0.00 CAD for the shipping total. This should be already filled out for the customer to move on and only need to log into paypal to pay. Why is this not being passed onto paypals site? please help. Thanks
glitzco Posted March 15, 2006 Posted March 15, 2006 totals are not passed onto the paypal site checkout page... When customer fills out his order and clicks onto the confirmation page and shows.... Sub-Total: $2.99 Flat Rate (Best Way): $50.00 Total: $52.99 on the checkout_confirmation.php It should then pass this onto paypal checkout page on their site but paypal displays a blank box and 0.00 CAD for the shipping total. This should be already filled out for the customer to move on and only need to log into paypal to pay. Why is this not being passed onto paypals site? please help. Thanks BUMP BUMP! anyone have a resolution for this? thank you, it would be much appreciated!
PelleonUK Posted March 15, 2006 Posted March 15, 2006 BUMP BUMP! anyone have a resolution for this? thank you, it would be much appreciated! I am having a similar problem. Its seems to be happening with all of my checkout methods. Paypal, Nochex and Paypal IPN. I have the currency set to GBP
houseofpoodle Posted March 15, 2006 Posted March 15, 2006 i have the same problem, i also cant get paypal to change out of euros - any help pleassse :)
PelleonUK Posted March 15, 2006 Posted March 15, 2006 i have the same problem, i also cant get paypal to change out of euros - any help pleassse :) In the end i blanked the database and started again. Not really a problem as I hadn't loaded a product catalog yet.
Hoheria Posted March 28, 2006 Posted March 28, 2006 I too had a problem with the Nochex gateway supplied with 2.2. The total was not being passed to the Nochex page so I played around with it and took some code from the gateway written by Andrew Baiden and pinched a line from the paypal gateway and modified it a little so the nochex.php file from about line 79 now reads: ....................................... $process_button_string = tep_draw_hidden_field('cmd', '_xclick') . tep_draw_hidden_field('email', MODULE_PAYMENT_NOCHEX_ID) . tep_draw_hidden_field('amount', number_format(($order->info['total']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('ordernumber', $customer_id . '-' . date('Ymdhis')) . tep_draw_hidden_field('returnurl', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) . tep_draw_hidden_field('firstname', $order->billing['firstname'] . ' ' . $order->billing['lastname']) . tep_draw_hidden_field('firstline', $order->billing['street_address']) . tep_draw_hidden_field('town', $order->billing['city']) . tep_draw_hidden_field('county', $order->billing['state']) . tep_draw_hidden_field('postcode', $order->billing['postcode']) . tep_draw_hidden_field('email_address_sender', $order->customer['email_address']) . tep_draw_hidden_field('logo', MODULE_PAYMENT_NOCHEX_LOGO) . tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); ................... This now correctly populates my nochex page with the money amount in GBP and the full name is shown (rather than just the firstname) plus all the address. I hope it helps someone. Martin
KarateEd Posted May 7, 2007 Posted May 7, 2007 Hi all, I've also had a problem with totals and shipping passing from the osCommerce side of things to the PayPal module. When I get to the PayPal module all I see is 0s, no totals, no shipping. Before going to the final module all totals and shipping are there, they just don't get passed onto the PayPal module. Has anyone ever found a permanent solution to this? I'm very new at osCommerce and coding in PHP so don't really know where else to turn to. Thanks for any help you can give. KarateEd......:-)
KarateEd Posted May 9, 2007 Posted May 9, 2007 Just a note to my last post.....I tried the code previously posted....and nothing happened. I tried to past images of the problem to this post but for some reason didn't work. Any help with this would be absolutely be appreciated. Thanks people, I really need your help with this. KarateEd.......:-)
Guest Posted May 9, 2007 Posted May 9, 2007 I recently had this problem, but it was fixed by changing the default currency in OSC from CDN to CAD to match the currency code in Paypal. Not sure if that will help, but I ended up backing up the database, opening the restore SQL file and doing a global replace of CDN to CAD. Once I restored the DB with the new currency code, all my totals passed onto Paypal with shipping as well. Good Luck Just a note to my last post.....I tried the code previously posted....and nothing happened. I tried to past images of the problem to this post but for some reason didn't work. Any help with this would be absolutely be appreciated. Thanks people, I really need your help with this. KarateEd.......:-)
KarateEd Posted May 10, 2007 Posted May 10, 2007 I recently had this problem, but it was fixed by changing the default currency in OSC from CDN to CAD to match the currency code in Paypal. Not sure if that will help, but I ended up backing up the database, opening the restore SQL file and doing a global replace of CDN to CAD. Once I restored the DB with the new currency code, all my totals passed onto Paypal with shipping as well. Good Luck Thanks very much for replying. Once I figure out how to back up the DB and restore replacing CDN, hopefully it will work. Thank you. Maybe this will help others too....it seems like a lot of people are having this problem. KarateEd......:-)
KarateEd Posted May 31, 2007 Posted May 31, 2007 I recently had this problem, but it was fixed by changing the default currency in OSC from CDN to CAD to match the currency code in Paypal. Not sure if that will help, but I ended up backing up the database, opening the restore SQL file and doing a global replace of CDN to CAD. Once I restored the DB with the new currency code, all my totals passed onto Paypal with shipping as well. Good Luck Hi again, I've look on my admin and I don't seem to be able to do a back/restore/global replace as you've suggested. What I have done is confirmed that changing the letters from CDN to CAD does pass the amounts onto the Paypal page. Would you be able to write for me a step by step account that will help me try to do the backup/restore/replace? Thanks very much in advance. Any help you're able to give me on this is very much appreciated. KarateEd.......:-)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.