chaners
Mar 22 2004, 07:06 PM
Hello,
When I press the confirm checkout button using paypal payment option. It will go to the paypal security payment page. However, the amount is not show on the payment page, which I have to key in the amount by myself.
Can any one help me how to make the total amount show on the payment page.
Thanks,
Chaners
ptilva
May 3 2004, 04:02 AM

We are using Paypal Module, when we do checkout, it goes to paypal site with the store name and email address and other details, but shopping cart total doesn't get forwarded.
Any idea how this can be solved ? Will installing Paypal_IPN help ? If yes how can we install it?
Thank all you gues in advance for support.
TechNut
May 30 2004, 12:39 AM
Guys, I hope for your sakes that you've already solved this, but just in case see my post I made today.
This will hopefully be the solution you want.
241
May 30 2004, 09:40 AM
There are plenty of posts on Paypal issues and official support threads that should offer a solution to any paypal issues
innovationsuk
Sep 16 2005, 12:04 AM
QUOTE (TechNut @ May 30 2004, 01:39 AM)
Guys, I hope for your sakes that you've already solved this, but just in case see my post I made today.
This will hopefully be the solution you want.Please help someone - i keep seeing replies there are lots of posts in this regards - but they are not - i have searched high and low - please someone help.
tante
Sep 26 2005, 08:43 PM
QUOTE (innovationsuk @ Sep 16 2005, 01:04 AM)

Please help someone - i keep seeing replies there are lots of posts in this regards - but they are not - i have searched high and low - please someone help.
I have the same problem
dheathorn
Apr 12 2007, 01:06 AM
Solution thanks to
Nick Schoonens. Though this says paypal_ipn.php module file it also works on the paypay.php module file.
QUOTE (Nick Schoonens)
So after some more digging I came across the following code in the /catalog/includes/modules/payment/paypal_ipn.php file on lines 261-263.
if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) {
$my_currency = 'USD';
}
For some reason the developers of the module (osCommerce team) decided that AUD wasn't a currency supported by Paypal (and maybe it wasn't when they first released it in late 2004), but it definitely is. So a simple hack to the code like this fixed my problem, and now sends the correct amount to Paypal in Australian Dollars.
if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUD'))) {
$my_currency = 'USD';
}
infinitelinx
Apr 30 2007, 03:06 PM
Could someone please help me! I'm having the same issue with the amount not passing to PayPal and it's in CAD. CAD is already an option and it still doesn't pass. I did not install IPN. Where do I go to install it. I go to Contributions but it's just a bunch of notes... I don't see anywhere to go to actually install IPN. Please HELP!!!
QUOTE (dheathorn @ Apr 12 2007, 01:06 AM)

Solution thanks to
Nick Schoonens. Though this says paypal_ipn.php module file it also works on the paypay.php module file.
cryosi
May 5 2007, 02:38 PM
I have this trouble and still not found the answer, its ok whomever it was saying there are plenty of paypal queries in here that deal with any issues we have, yes
considering that there are loads and loads and still i can not find what im looking for, i dont find that answer helpfull in anyway shape or form,
Why does oscommerce go to paypal with no prices or postage information, what do we have to do to sort it out, what is missing form oscommerce to stop this.
and one link that was posted with a possible solution is broken or missing.
one stuck newbie.
pkunzip123
May 15 2007, 10:25 PM
i have the same problem

please there must be something small missing, i have managed to sort out the part with the product name and code, just paypal asks me to manually input the total, and amount of items
plzzzzzzzzzzzz somebody, have been searching on the forums for 2 weeks straight am tired need sleep
Any advise Welcomed
denzel2364
May 16 2007, 12:04 PM
QUOTE (pkunzip123 @ May 15 2007, 11:25 PM)

i have the same problem

please there must be something small missing, i have managed to sort out the part with the product name and code, just paypal asks me to manually input the total, and amount of items
plzzzzzzzzzzzz somebody, have been searching on the forums for 2 weeks straight am tired need sleep
Any advise Welcomed

sorry people, me too have the same issue. starting to get frustrated. i have sooo many posts but nobody replies. Also, the product title doesnt get carried over. - dunno why!
breaks my heart, but i want it sorted. if i find out, ill let you all know. hopefully you too will do the same. eventho i have had someone who knows php and they too cant figure it out!
j_mac
May 17 2007, 11:33 PM
QUOTE (denzel2364 @ May 16 2007, 12:04 PM)

sorry people, me too have the same issue. starting to get frustrated. i have sooo many posts but nobody replies. Also, the product title doesnt get carried over. - dunno why!
breaks my heart, but i want it sorted. if i find out, ill let you all know. hopefully you too will do the same. eventho i have had someone who knows php and they too cant figure it out!
I had the same problem. In my case it was because of currencies: I was using CAD in paypal but not in oscommerce where I was using USD. I added CAD as an option through the oscommerce admin and made it the default and problem solved.
cfinch95
May 28 2007, 01:36 PM
I am also having this same problem, Oscommerce is not forwarding the totals to Paypal at checkout.
It appears to be the same for many of you.
Is anyone even reading these threads as to provide a solution?
Thanks ahead of time for any help that can be issued!
satish
May 28 2007, 03:49 PM
$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .
tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) .
tep_draw_hidden_field('item_name', STORE_NAME) .
tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('currency_code', $my_currency) .
tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
return $process_button_string;
This code is responsible in std oscommerce payment module.
So just serialize and place this $process_button_string in a file.
if amount has no value then You need to dump the order info total to know what is happening.
Second If You are trying to send some encrypted values were as YOu are stating on paypal that form is unencrypted or vice versa then too this might happen.
Satish
cfinch95
May 29 2007, 01:28 AM
$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .
tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) .
tep_draw_hidden_field('item_name', STORE_NAME) .
tep_draw_hidden_field('amount', number_format((($order->info['total'] - $order->info['shipping_cost']) * MODULE_PAYMENT_PAYPAL_FEE * $currencies->get_value($my_currency) + MODULE_PAYMENT_PAYPAL_FIX_FEE), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * MODULE_PAYMENT_PAYPAL_FEE * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('currency_code', $my_currency) .
tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')) .
tep_draw_hidden_field('rm', '2') .
tep_draw_hidden_field('return', 'http://www.YourDomain.Line99/checkout_process.php');
return $process_button_string;
This out of my paypal.php. Which appears to be the same as you posted.. What are you trying to say? that I need to create another blank.php and just add it to the site? hmm.. I'm not really understanding what you are saying..
Yes, I suppose the information may be encrypted since it is under an ssl.. That could be why it is not working I suppose..
I have oscommerce setup on another domain on the same resellers area and it works fine they are both running under an
https://mydomain.com area..
pretty much identical setups.
Thanks..
cfinch95
May 30 2007, 04:05 PM
Also, I just noticed that this is happening on my previous cart setup on another server that was working correctly a week ago.
Did anyone notice if paypal changed their forwarding codes? I'm sure it was working fine a week ago with no problems.. Strange..
Thanks..
-chris
am having the same problem
has it been sorted yet
Help needed please
Rob
satish
Jun 2 2007, 02:33 PM
As stated in My above post.
Just collect what is in the $process_button_string.
and paste so as to explain.
Satish
QUOTE (satish @ Jun 2 2007, 10:33 AM)

As stated in My above post.
Just collect what is in the $process_button_string.
and paste so as to explain.
Satish
Tried both
paste into my paypal.php
just hangs, and nothing happens
cfinch95
Jun 3 2007, 02:19 PM
Thank You Satish,
It is passing everything correctly now since I changed my code to the code you posted. I'm sure that is probably the default code for oscommerce. I had an addon because of the problem with losing orders through paypal if someone didn't press continue. I'll have to check on that contribution to see if there is an update.
Thanks for your help,
-chris
satish
Jun 3 2007, 04:37 PM
Hello Cflinch,
If You are loosing orders then
1)Add order holding contrib.
2)install paypal IPN.
Regards,
Satish
tmart
Jul 7 2007, 12:41 PM
QUOTE (satish @ May 28 2007, 03:49 PM)

$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .
tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) .
tep_draw_hidden_field('item_name', STORE_NAME) .
tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('currency_code', $my_currency) .
tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
return $process_button_string;
This code is responsible in std oscommerce payment module.
So just serialize and place this $process_button_string in a file.
if amount has no value then You need to dump the order info total to know what is happening.
Second If You are trying to send some encrypted values were as YOu are stating on paypal that form is unencrypted or vice versa then too this might happen.
Satish
Hello Satish, Can you please tell me how to add INR ( Indian Rs.) to payal? As you know the default Paypal currency is US$. But people buying from our site www.tmart.in will be paying only in INR and how to incorporate this with Paypal please!
Best regards
Tissy Joseph
alqamardesigns
Jul 28 2007, 02:34 AM
Hi,
I was going crazy, my paypal and nocheque was not working.
after reading allllllllll the posts, all the problem was:
In admin check what you have selected your currency as
and make sure its the same as what you set your paypal as
as for me my currency was set to GB Pound
and paypal was GBP
so i changed the currency to GBP!
and its working!! Praise be to God!!
Ok I hope that help all those who had this problem also!
TC
austinbb
Aug 19 2007, 12:05 PM
QUOTE (alqamardesigns @ Jul 28 2007, 03:34 AM)

Hi,
I was going crazy, my paypal and nocheque was not working.
after reading allllllllll the posts, all the problem was:
In admin check what you have selected your currency as
and make sure its the same as what you set your paypal as
as for me my currency was set to GB Pound
and paypal was GBP
so i changed the currency to GBP!
and its working!! Praise be to God!!
Ok I hope that help all those who had this problem also!
TC
I did this and yes it corrected the problem, but.... the items in my shop went to a price off £0 (Zero) even though they are set correctly in the catalog, did this happen to you??
austinbb
Aug 19 2007, 03:38 PM
QUOTE (satish @ May 28 2007, 04:49 PM)

$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .
tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) .
tep_draw_hidden_field('item_name', STORE_NAME) .
tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
tep_draw_hidden_field('currency_code', $my_currency) .
tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
return $process_button_string;
This code is responsible in std oscommerce payment module.
So just serialize and place this $process_button_string in a file.
if amount has no value then You need to dump the order info total to know what is happening.
Second If You are trying to send some encrypted values were as YOu are stating on paypal that form is unencrypted or vice versa then too this might happen.
Satish
Satish
Could you explain this a little clearer please because I have copied your text and substitued it for the relevent text in my paypal.php file and it made no difference, the value taken to paypal is still zero
Thanks
satish
Aug 19 2007, 05:30 PM
If on Paypal it is coming to Zero implies that the currency Naming convention has not been followed.
If YOu have Gb and not GBP or CDN and not CAD then this might happen.
Satish
Bazzer
Sep 6 2007, 02:13 PM
Having just started using osCommerce I hit just the same problem - no 'Amount' showing in PayPal - but solved it in a different way. In fact, I suspect there could be a number of reasons for the problem but anyway here's mine. When laying down the currency for a country in the osCommerce Admin section, I failed to use one of the currency codes that PayPal expects. In this case I put UKP instead of GBP. Hope this helps others with similar problems.
Sikhishop
Sep 7 2007, 08:20 PM
QUOTE (Bazzer @ Sep 6 2007, 03:13 PM)

Having just started using osCommerce I hit just the same problem - no 'Amount' showing in PayPal - but solved it in a different way. In fact, I suspect there could be a number of reasons for the problem but anyway here's mine. When laying down the currency for a country in the osCommerce Admin section, I failed to use one of the currency codes that PayPal expects. In this case I put UKP instead of GBP. Hope this helps others with similar problems.
Thanks Bazzer that worked, the company im with HOST DEPARMENT had no idea how to fix the issue!
beaman
Oct 3 2007, 06:35 AM
QUOTE (Sikhishop @ Sep 7 2007, 08:20 PM)

Thanks Bazzer that worked, the company im with HOST DEPARMENT had no idea how to fix the issue!

HI guys here is a solution. I know people are having problem. this is what you should be doing.
there are 2 option for paypal in PAYMENT MODULEs. USE 2nd one ie (Paypal IPN ) .... not first one. Make sure first one is disabled. If you use first one it'll give you same problem. try it and let me know.
here is copy of PAYMENT MUDULES page for more information and paypal options are in red color.
Payment Modules
Modules Sort Order Action
Authorize.net
Credit Card (Not For Production Use) 0
ChronoPay
Cash on Delivery 0
iPayment
Check/Money Order
NOCHEX
PayPal
PayPal IPN 0 [size="5"][/size]
PayQuake (Credit Card)
2CheckOut
PSiGate
SECPay
Sofortüberweisung Direkt
WorldPay Junior
beaman
Oct 3 2007, 06:41 AM
QUOTE (chaners @ Mar 22 2004, 07:06 PM)

Hello,
When I press the confirm checkout button using paypal payment option. It will go to the paypal security payment page. However, the amount is not show on the payment page, which I have to key in the amount by myself.
Can any one help me how to make the total amount show on the payment page.
Thanks,
Chaners
HI guys here is a solution. I know people are having problem. this is what you should be doing.
there are 2 option for paypal in PAYMENT MODULEs. USE 2nd one ie (Paypal IPN ) .... not first one. Make sure first one is disabled. If you use first one it'll give you same problem. try it and let me know.
here is copy of PAYMENT MUDULES page for more information and paypal options are in red color.
Payment Modules
Modules Sort Order Action
Authorize.net
Credit Card (Not For Production Use) 0
ChronoPay
Cash on Delivery 0
iPayment
Check/Money Order
NOCHEX
PayPal
PayPal IPN 0 [size="5"][/size]
PayQuake (Credit Card)
2CheckOut
PSiGate
SECPay
Sofortüberweisung Direkt
WorldPay Junior
spiffywebgal
Oct 16 2007, 11:03 PM
I can't find where my problem has been solved on any forums -
the site uses PayPal and PayPal Web Payments Pro. Prior to installing PayPal WPro, everything was fine, but now, the disounts/coupons are not being applied to the total during checkout if the customer pays with Credit Card. If they pay with regular paypal, there's no issue. Is there a fix for this or is anyone but me having this issue?
seatosky
Nov 2 2007, 03:49 PM
QUOTE (beaman @ Oct 2 2007, 10:41 PM)

HI guys here is a solution. I know people are having problem. this is what you should be doing.
there are 2 option for paypal in PAYMENT MODULEs. USE 2nd one ie (Paypal IPN ) .... not first one. Make sure first one is disabled. If you use first one it'll give you same problem. try it and let me know.
here is copy of PAYMENT MUDULES page for more information and paypal options are in red color.
Payment Modules
Modules Sort Order Action
Authorize.net
Credit Card (Not For Production Use) 0
ChronoPay
Cash on Delivery 0
iPayment
Check/Money Order
NOCHEX
PayPal
PayPal IPN 0 [size="5"][/size]
PayQuake (Credit Card)
2CheckOut
PSiGate
SECPay
Sofortüberweisung Direkt
WorldPay Junior
HI i don't have the option for the second paypal module. where would i find it.
assadrafaq
Nov 14 2007, 12:44 AM
I have a similar problem,and Posted at different places on the Forum but no response received.
I am using Paypal as Payment Module. (others modules are as under).
Authorize.net
Credit Card
Cash on Delivery
iPayment
Check/Money Order
NOCHEX
PayPal
2CheckOut
PSiGate
SECPay
Problem is that In PAYAPL it gives my Store Name instead of item description.
Can any body help me out in a easiar way as I am new in using OSCommerce.
Thanx in advance
kassim
Nov 15 2007, 06:33 PM
I have the same problem. Can anyone help?
ivanimage
Dec 28 2007, 12:40 PM
QUOTE (tante @ Sep 27 2005, 07:43 AM)

I have the same problem

hey dheathorn, i couldn't find the 'if array' bit in the paypal.ipn.php file but i did in the normal paypal which is what i was seeking for, it worked a treat you are an absolute bloody star, was searching for ages to solve this prob, thanks heaps
harikatt
Dec 28 2007, 02:55 PM
Did you tried the paypal IPN settings.. did u created an test sandbox login.. did u entered the test email
bookshop24-7.com
Dec 29 2007, 06:07 AM
QUOTE (harikatt @ Dec 29 2007, 03:55 AM)

Did you tried the paypal IPN settings.. did u created an test sandbox login.. did u entered the test email
Harikatt, I have the PayPal IPN and Super Download store contribution too and I'm having this same problem of OSC passing no price and the store name instead of the product description. I have it set so that multiple items can be ordered.
Can you give details of how you solved it? I did create a test sandbox login and entered the test email. I'm not really finding solutions to this problem.
harikatt
Dec 30 2007, 07:06 AM
Ok, first let me know what settings you have and what settings did u entered in the paypal IPN modules. let me know first.
tambay
Jan 24 2008, 04:50 AM
I am having the same problem.
No information is carrying over to PayPal and it asks to put in total w/o shipping manually. But w/o means without. And when you go to the next step, it doesn't include postage. So nothing is being transferred over.
Has anyone solved this problem yet.
I have cut and pasted the abouve thread (which was exactly the same as what I had anyway, but it was worth a shot), but nothing changed.
thewizardshat
Feb 11 2008, 07:08 PM
Hello Everyone,
Newbie here.....Sooooo many problems......Sooooo little time.
I moved my website in September from a different hosting company because they were terrible. I rebuilt my whole site from the ground up in Oscommerce. I have two serious problems that are getting in the way of my site being profitable. I hope someone can help me. I obviously know some HTML, as I have learned on the fly. I would appreciate ANY help that I can Get.
http://www.mythmedievalceltic.com/store/My two biggest issues are:
1- Paypal issues. I tested my PayPal account and have it set as normal PayPal- but now when you try to checkout as a customer, it takes you directly to the "Sandbox environment". How do I fix this? Do I need to use Papal IPN? I do not know what to put in the various fields.
******FROM HERE ON I DO NOT KNOW WHAT TO DO.......................
Page Style
The page style to use for the transaction procedure (defined at your PayPal Profile page)
Debug E-Mail Address
All parameters of an Invalid IPN notification will be sent to this email address if one is entered.
Sort order of display.
Sort order of display. Lowest is displayed first.
Enable Encrypted Web Payments
Do you want to enable Encrypted Web Payments?
True
False
Your Private Key
The location of your Private Key to use for signing the data. (*.pem)
Your Public Certificate
The location of your Public Certificate to use for signing the data. (*.pem)
PayPals Public Certificate
The location of the PayPal Public Certificate for encrypting the data.
Your PayPal Public Certificate ID
The Certificate ID to use from your PayPal Encrypted Payment Settings Profile.
Working Directory
The working directory to use for temporary files. (trailing slash needed)
OpenSSL Location
The location of the openssl binary file.
2- Why do people using Safari & Firefox have problems with there shopping carts Disappearing?
Thanks,
Natasha:D
Hi I read through all the posts tried all the suggestions and it still does not work for me. I am using the paypal module and have no need to use the IPN module. (it should work with the standard paypal module).
Why would the totals $ not be there ? I have same problem with the sandbox.
Please provide an amount and click Update Totals.
Item Unit Price Qty Total
Company Name 1 0.00
Subtotal: 0.00
Total: CAD
prafulkr
Apr 16 2008, 02:51 PM
I am using "PayPal Express Checkout"
I have two problems
one) amount does not shown on paypal page
second) payment through credit card without login on paypal does not a shown
Any one have idea about my problem?
URL:
http://shaze.inusername: pkc@inbox.com
password: admin
www.iloveletters.ca
Jun 5 2008, 02:26 AM
I'm having the same issue, the total amount isn't carrying over. It's just coming in as 0. Can someone please help me find a fix for this?
Thanks.
www.iloveletters.ca
Jun 5 2008, 03:17 AM
Nevermind, I'm a dummy, it WAS the nonmatching currency values in paypal/oscommerce admin causing my issue
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.