Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Simple paypal Questions


crxvfr

Recommended Posts

I've been skimming over paypals 'standrad checkout integration guide' I'm a little confused. It mentions 'Buy Now', 'Donation' and 'Shopping Cart' buttons. The guide says to put an 'ad to cart button' on each one of my product pages. OCS already has a cart and I have way to many products to be adding buttons on each page.

 

So I went to paypal....

 

I signed up for a business account and clicked thru to a link that said 'integrate now' and their instructions were to log into OSC and make my default payment module paypal. It can't be that easy.

 

What am I missing?

Link to comment
Share on other sites

their instructions were to log into OSC and make my default payment module paypal. It can't be that easy.

 

Pretty much. I'd recommend at least configuring the 'auto return' function in the paypal admin though to return to the checkout_process.php file in osc.

 

Taking it one step further, if you'd like to 'pre-fill' the paypal account creation fields with the information the customer has already given you so they don't have to do ti again, then I'd recommend installing one of the PayPal IPN modules. These modules also have some other additional configurables.

 

Taking it another step past that, paypal actually aloows them to customize the paypal payments page a little bit, such as adding a small logo, and changing some of the colors. I'd reocmmend looking into that as well.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

It's hard to work this osCommerce thing out sometimes. My PayPal IPN contibution's successful orders aren't showing up in the database. I did get a PayPal IPN Invalid Process email with

 

$_POST:

 

$_GET:

 

meaning variables aren't getting passed I guess...

 

Otherwise, I added a banner to customize my PayPal checkout pages, but when I test from the Sandbox, the banner doesn't appear, it's replaced with our email address, and in the confirmation email the name of our site is also replaced with the email address, which makes for some weird reading (Contact [email protected] at [email protected]).

 

When I finally decide to rectify from the source, what makes me want to throw in the towel is how confused I get searching through the contribution threads. The most recent update is for osCommerce PayPal IPN Module v1.0 - but v1.2 exists, and the downloads are only the module file (so what happened to the folder hierarchies, accompanying files, not to mention the install help file I'm sure I saw before?). Do I need to download the original file from way back when, and then go through every additional download to successively modify the source file correctly? Isn't there a better system? Sorry to rant. These are some great contributions, I know. I'm just in a little over my head and having a bad day probably.

 

Pretty much. I'd recommend at least configuring the 'auto return' function in the paypal admin though to return to the checkout_process.php file in osc.

 

Taking it one step further, if you'd like to 'pre-fill' the paypal account creation fields with the information the customer has already given you so they don't have to do ti again, then I'd recommend installing one of the PayPal IPN modules. These modules also have some other additional configurables.

 

Taking it another step past that, paypal actually aloows them to customize the paypal payments page a little bit, such as adding a small logo, and changing some of the colors. I'd reocmmend looking into that as well.

Link to comment
Share on other sites

It's hard to work this osCommerce thing out sometimes. My PayPal IPN contibution's successful orders aren't showing up in the database. I did get a PayPal IPN Invalid Process email with

 

I don't know. I haven't got that far but I think I read somewhere that you have to have them come back from paypal in order for the order to be logged, like in the first step of the above post.

 

Pretty much. I'd recommend at least configuring the 'auto return' function in the paypal admin though to return to the checkout_process.php file in osc.

 

Thank you Chris

Link to comment
Share on other sites

Thanks.

 

Actually orders are getting recorded in the database (people are being redirected back to the site), the orders just aren't showing up in the Admin interface. One thing I can see is that the paypal_ipn_id isn't being registered in the database for some reason...

 

I don't know. I haven't got that far but I think I read somewhere that you have to have them come back from paypal in order for the order to be logged, like in the first step of the above post.
Link to comment
Share on other sites

Often, when people install the paypal IPN, a very comon mistake that they make is not adding the new 'payment status'. This results in the orders not showing up in the admin, because the admin only displays orders where the 'payment status' is one that it knows.

 

Just a stab in the dark, but you might want to take a look at hte database, as visually confirm what the order status is on the orders that aren't showing up.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

Thanks. I'm a little confused, though.

 

I found an old installation file for osCommerce-PayPal_IPN-v1.0, but I can't find where it says anything about the 'payment status'. You're not talking about the IPN Shopping Cart contribution, are you? I started setting up the IPN Shopping Cart a long time ago then realized I just needed the module. Or so I thought. My 'order status' for PayPal orders appears as Pending (or 1), but there's no paypal_ipn_id variable being entered (it's always 0) and the PayPal orders aren't showing up in the orders_total table at all, so the shipping info variables aren't being entered there, although the shipping costs are correctly sent to PayPal, and customers are able to order.

 

I'm shamblin bad...

 

Often, when people install the paypal IPN, a very comon mistake that they make is not adding the new 'payment status'. This results in the orders not showing up in the admin, because the admin only displays orders where the 'payment status' is one that it knows.

 

Just a stab in the dark, but you might want to take a look at hte database, as visually confirm what the order status is on the orders that aren't showing up.

Link to comment
Share on other sites

Thanks. I'm a little confused, though.

 

I found an old installation file for osCommerce-PayPal_IPN-v1.0, but I can't find where it says anything about the 'payment status'. You're not talking about the IPN Shopping Cart contribution, are you? I started setting up the IPN Shopping Cart a long time ago then realized I just needed the module. Or so I thought. My 'order status' for PayPal orders appears as Pending (or 1), but there's no paypal_ipn_id variable being entered (it's always 0) and the PayPal orders aren't showing up in the orders_total table at all, so the shipping info variables aren't being entered there, although the shipping costs are correctly sent to PayPal, and customers are able to order.

 

I'm shamblin bad...

 

yeah same problem I think u have to enable it on paypal but im not sure what the URL u need to put in for hte paypal IPN on the paypal site... anyone know?

Link to comment
Share on other sites

Thanks. I'm a little confused, though.

 

I found an old installation file for osCommerce-PayPal_IPN-v1.0, but I can't find where it says anything about the 'payment status'. You're not talking about the IPN Shopping Cart contribution, are you? I started setting up the IPN Shopping Cart a long time ago then realized I just needed the module. Or so I thought. My 'order status' for PayPal orders appears as Pending (or 1), but there's no paypal_ipn_id variable being entered (it's always 0) and the PayPal orders aren't showing up in the orders_total table at all, so the shipping info variables aren't being entered there, although the shipping costs are correctly sent to PayPal, and customers are able to order.

 

Ok, this sounds like just a failed installation. I'd recommend re-tracing your steps through the installation process. Also, I normally use the other contribtuion http://www.oscommerce.com/community/contri...arch,paypal+ipn.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

This is like, unbelievable. Everytime I download the paypal_ipn_1.2.0.zip and try to extract it, with Windows or with Winrar, it gives me an error: skipping file unknown compression method. The .php files from that contribution seem to have been compressed with an unknown method as far as my computer is concerned, I can extract every file except the .php files in the .zip file, it's never happened to me before, and it doesn't seem like it's happened to anyone else in the osCommerce community. What the @?&?#!! kinda twilight zone am I in here?

 

Ok, this sounds like just a failed installation. I'd recommend re-tracing your steps through the installation process. Also, I normally use the other contribtuion http://www.oscommerce.com/community/contri...arch,paypal+ipn.

Link to comment
Share on other sites

Alright. I downloaded the lastest WinZip evaluation, which recognizes the compression method, so now I'm keeping up with the Joneses. :blink: I uploaded the contribution files, tested & saw the notorious billing_piva & billing_cf error, :o found out by searching the forums that everyone saw the same error and that I could just 'comment' out those lines in the code, and then at the end of the test... Same problem. Paypal_ipn_id still zero, order in the database otherwise, just not showing up in the interface. <_< I think I'll sleep on it.................... Thanks for tryin to help out though...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...