Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal displaying store name in product description.


moezbud

Recommended Posts

I ran a test through my live store and everything worked OK except that the paypal screen displayed my full storename in the product description. Does anyone have any ideas where I can look to resolve that?

 

On the email invoice, it displayed the product correctly.

 

Thanks!

 

Moez

Link to comment
Share on other sites

Thats the way PayPal works.

The name you are looking at is the same you have in the admin configuration as your Store name.

You can put a shorte name. But you need it.

 

I have to disagree.

 

Running a standard paypal cart with IPN, you would have your order info at the paypal website as well as your server database if so configured with IPN. With OSCommerce, only the stores name is stored at paypal as the order rather than the actual contents of the order. I now have to return to my online shop to see what the order is. Having the order info available to me at my paypal account assures me of having a backup of the orders made.

 

Just last month, my host lost all my database info. Luckily I had a 2 day old backup prior to this event but of course all the orders made after this backup were lost and although they were processed on paypal I had now way of knowing what the orders consisted of because all it shows is my shops name...

 

Can you see the problem with this now?

 

I don't understand how this question has not come up before.... :unsure:

Link to comment
Share on other sites

I think the problem lies in the code shown below. I'm using the paypal_standard module that comes with oscommerce.

 

Notice this line: 'item_name' => STORE_NAME,

 

 

	 $parameters = array('cmd' => '_xclick',
					  'item_name' => STORE_NAME,
					  'shipping' => $this->format_raw($order->info['shipping_cost']),
					  'tax' => $this->format_raw($order->info['tax']),
					  'business' => MODULE_PAYMENT_PAYPAL_STANDARD_ID,
					  'amount' => $this->format_raw($order->info['total'] - $order->info['shipping_cost'] - $order->info['tax']),
					  'currency_code' => $currency,
					  'invoice' => substr($cart_PayPal_Standard_ID, strpos($cart_PayPal_Standard_ID, '-')+1),
					  'custom' => $customer_id,
					  'no_note' => '1',
					  'notify_url' => tep_href_link('ext/modules/payment/paypal/standard_ipn.php', '', 'SSL', false, false),
					  'return' => tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'),
					  'cancel_return' => tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'),
					  'bn' => 'osCommerce22_Default_ST',
					  'paymentaction' => ((MODULE_PAYMENT_PAYPAL_STANDARD_TRANSACTION_METHOD == 'Sale') ? 'sale' : 'authorization'));

Link to comment
Share on other sites

  • 2 weeks later...
I think the problem lies in the code shown below. I'm using the paypal_standard module that comes with oscommerce.

 

Notice this line: 'item_name' => STORE_NAME,

 

 

	 $parameters = array('cmd' => '_xclick',
					  'item_name' => STORE_NAME,
					  'shipping' => $this->format_raw($order->info['shipping_cost']),
					  'tax' => $this->format_raw($order->info['tax']),
					  'business' => MODULE_PAYMENT_PAYPAL_STANDARD_ID,
					  'amount' => $this->format_raw($order->info['total'] - $order->info['shipping_cost'] - $order->info['tax']),
					  'currency_code' => $currency,
					  'invoice' => substr($cart_PayPal_Standard_ID, strpos($cart_PayPal_Standard_ID, '-')+1),
					  'custom' => $customer_id,
					  'no_note' => '1',
					  'notify_url' => tep_href_link('ext/modules/payment/paypal/standard_ipn.php', '', 'SSL', false, false),
					  'return' => tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'),
					  'cancel_return' => tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'),
					  'bn' => 'osCommerce22_Default_ST',
					  'paymentaction' => ((MODULE_PAYMENT_PAYPAL_STANDARD_TRANSACTION_METHOD == 'Sale') ? 'sale' : 'authorization'));

 

Hi there,

you`re right thats the "problem"!

But how can we fix it without any knowledge of PHP?

Does anyone can help us out?

I`d like to get the shopping cart infos like:

  • Description of the products
  • Size
  • Color

But I don`t know how this will work...

I replaced the STORE_NAME with something like this:

$order->products[$i]['name']

but it doesn`t worked :blink:

Any idea???

This would be soooo great!!!

Thanks!

Link to comment
Share on other sites

Hi there,

you`re right thats the "problem"!

But how can we fix it without any knowledge of PHP?

Does anyone can help us out?

I`d like to get the shopping cart infos like:

  • Description of the products
  • Size
  • Color

But I don`t know how this will work...

I replaced the STORE_NAME with something like this:

$order->products[$i]['name']

but it doesn`t worked :blink:

Any idea???

This would be soooo great!!!

Thanks!

 

Hi again,

after searching and trying different Paypal modules, I`ve found out, that osCommerce_PayPal_IPN_v2.3.4.5_1 is the best and fully working!

It adds the description, Size and Color like I wish for every product!

Great con!

Link to comment
Share on other sites

Hi again,

after searching and trying different Paypal modules, I`ve found out, that osCommerce_PayPal_IPN_v2.3.4.5_1 is the best and fully working!

It adds the description, Size and Color like I wish for every product!

Great con!

 

Great! I'll have to check it out...

 

Is this the right link for the one you're talking about? http://addons.oscommerce.com/info/2679/v,22

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...