Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Having issues with the Paypal Website Payments Standard module...


arkisaeo

Recommended Posts

Posted

I've been working on a site for a client of mine recently, and currently there is only one method of payment installed: PayPal Website Payments Standard.

 

The good news is: payments are coming through fine.

 

The bad news is: unless we login to the admin panel, we have no idea what the customer purchased.

 

I tried doing a test purchase on the site.

 

The items are listed throughout the checkout process on the website.

 

However, once you are redirected to PayPal, their website only gives you a total cost for the purchase--it doesn't list any of the items purchased. Also, regardless of the number of items you have in the cart, PayPal always lists the quantity as "1 item", rather than 2 or 10 or whatever.

 

We've checked the invoices on PayPal, and they also only list the total purchase cost--no items are listed on them, and they are not listed in any email notifications.

 

Here is the site so far:

 

Link

 

 

Currently, she is only able to sell to Canadian residents, so if you want to test the checkout process, your Paypal account will need to have a Canadian address associated with it.

 

 

 

So, I am wondering:

 

How do you fix PayPal (or osCommerce) so the list of items being purchased shows up on their checkout page, and the list is also e-mailed to the admin (my client) once the purchase is completed?

 

I checked the configuration, and her e-mail is correctly added to the "E-mail Address" and "Send Extra Order Emails To" fields. I also checked the code of the paypal_standard.php file on the site against the original file on my computer, and they both appear to be the same (nothing was altered).

 

 

 

 

The other issue I am having is with the module itself. There is no "remove" button at the top of the module, so I am unable to uninstall it. Also, if I click on the module once, all that shows up is the Install button. If I click on it a second time, then it switches to the panel that has all the fields listed (Enable PayPal Website Payments Standard, Email Address, Payment Zone, etc.).

 

Any ideas on how to fix this?

 

:unsure:

Thanks.

Posted

I use a script to do this, I can't find it on the addons store but I have it if this doesn't work...

 

http://addons.oscommerce.com/info/6783

 

The one I have will pass the cart to paypal and say on the paypal cart:

 

1 x Black Hoody £39.99

Size: Medium

 

1 x White Tshirt £24.99

Size: Medium

 

1 x Navy Jeans £64.99

Size: Large

 

etc, etc. I had the problem of people sometimes not returning to the site after paying and therefore not logging the order in the admin back end. You would be left with a payment of £85 and not have any idea what it was for and Paypal just showed "1 item £85" and it could of been anything or a number of things. With the script installed, even if they don't return to the site and they leave, you have the exact itemised cart in the paypal order like above so you know what they bought and the sizes etc.

 

Let me know if the above script doesn't work and I will send you this one, unless someone can point you to something similar already on the addons section.

Posted

make sure that you have "Send extra order emails to" filled in with your email address in your store configuration section. You will then receive an email every time an order is placed in your store.

 

Also make sure that you have a return URL listed in your paypal account. The URL should return customers to your store once an order is placed. I redirect mine back to the /checkout_success.php page. You may need to enter the URL of that page.

REMEMBER BACKUP, BACKUP AND BACKUP

Posted

Jay:

 

Thanks, I'll give the add-on a shot :)

 

Steve:

 

As stated above

I checked the configuration, and her e-mail is correctly added to the "E-mail Address" and "Send Extra Order Emails To" fields.

 

Also, the return URL is set to the checkout_success.php page. Thanks for the suggestions, though.

Posted

Update:

 

I tested the add-on and it works, but there are 2 (possibly) minor issues:

 

1. Although paypal displays an itemized list, the total quantity still shows as 1, even though more than 1 item is added to the cart.

For example, I had 4 different items added to the cart--so you would think the total quantity would display as 4, but it only displays as "1".

 

2. The itemized list gets cut off after approximately 125 characters.

For example:

 

The list SHOULD have displayed as this:

Chocolate Coffee Lip Balm x 1 | Soothing Salve 30ml. x 1 | Nourishing Vitamin Face Cream 120ml. x 1 | Awesome Ouchie Ointment 50 gm. x 1

 

However, it actually displayed as this:

Chocolate Coffee Lip Balm x 1 | Soothing Salve 30ml. x 1 | Nourishing Vitamin Face Cream 120ml. x 1 | Awesome Ouchie Ointmen

 

(notice the "t" at the end of Ointment and the "50 gm. x 1" are missing from the actual output.)

 

 

I suppose the total quantity issue isn't a major problem, since the items are listed with their own quantity anyway, but I would like to fix the cut-off issue... I just don't know how...

Archived

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

×
×
  • Create New...