Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

please help - payment problem


miju

Recommended Posts

hey all,

 

im using the paypal payment module and the checkout procedure seems to be working fine HOWEVER when i'm brought to the paypal page i'm presented with 2 problems:

 

1: the value of the product does not come up ( value is ?0.99 )

 

2: it says pay to mantra records which is fine but underneath that where it says product it also says mantra records even though the product is called "test product 2" so if a payment went through i wouldnt know what it was for

 

any help on either of these problems would be really appreciated, thanks and happy new year

Link to comment
Share on other sites

Looking at paypal.php in includes/modules/payment.... it says item name = store name , that might be the bit that needs changing , but i have no clue what to enter ??

 

 

$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'));

Link to comment
Share on other sites

Ok , found this post

 

"In File:

\catalog\includes\modules\payment\paypal.php

 

tep_draw_hidden_field('item_name', STORE_NAME) .

 

REPLACE WITH:

 

tep_draw_hidden_field('item_name', $_SESSION['FixOrder']) .

 

 

so now i got the Product name fixed. All i need now is to get the amount, shipping and tax to work."

 

 

 

Hope this helps a little

Link to comment
Share on other sites

Ok , found this post

Hope this helps a little

 

thanks man thats helped me sort out the product name problem but prices are still not showing up on the paypal checkout page, i'd REALLY appreciate some help on this

Link to comment
Share on other sites

This is just a thought, and may not be anything to do with it, but is your paypal account set up to show individual prices. Settings can be altered in your paypal profile pages. Like i say may not help, but just a thought.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

This is just a thought, and may not be anything to do with it, but is your paypal account set up to show individual prices. Settings can be altered in your paypal profile pages. Like i say may not help, but just a thought.

 

im not sure to be honest, whereabouts in my paypal profile do i check that?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...