Merm Posted July 15, 2010 Posted July 15, 2010 1)Pardon if this has been answered but I've spent three days looking and being confused with the various cubecart.org, cubecart.com etc forums. I've followed the instructions installing paypal ipn from here http://www.cubecartforums.org/docs/index.php?id=75 I was given a"merchant Id" from paypal and told, to place it somewhere on my site . But I've deleted the "where" and wonder if there is a standard place this needs to be inserted ?? 2)Also, Paypal states * Per the user agreement, you must provide verbiage on the page displayed by the Return URL that will help the buyer understand that the payment has been made and that the transaction has been completed. * You must provide verbiage on the page displayed by the Return URL that explains that payment transaction details will be emailed to the buyer. * Example: Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at www.paypal.com/us to view details of this transaction. Just where do I insert this or do I have to?? and one final silly- I have bluehost as my website host, and they provide a shared SSL certificate, when asked for the return URL on paypal, do I choose the http: or the https: Thanks in advance, As you can tell I'm not a computer person just trying to make a small webstore myself. http://www.mermaidsseajewels.com Merm oh i'm running whatever the latest ver 3, was available this week to download, i think 3.02 (I have so many windows opened with cubecart I'm totally confused..) Quote
Robsta Posted July 15, 2010 Posted July 15, 2010 1. Those instructions on cubecartforums.org are for PayPal IPN, and may not apply to any other PayPal payment service. If PayPal has given you a 'merchant Id', then you are likely not using PayPal IPN. Which PayPal service are you planning on using? 2. The information on the customer confirmation page is already present in CubeCart, so you don't need to enter anything. Quote
vokf Posted July 15, 2010 Posted July 15, 2010 Hi Merm, for recent versions (ie those downloaded in the 2 or 3 years), you do not need to edit any code. Its important to know which version you are running. The current release is; CubeCart 3.0.20 in computer terms, this is not 3.0.2 (which could be seen as 3.0.02, and therefore very old (12 Aug 2005 according to the download page!!) So, if you have altered any code, please revert back to your backup file. Skip the instructions between; BEGIN: For CubeCart v3.0.17 and prior versions: END: For CubeCart v3.0.17 and prior version: Now follow; PayPal Account Update Log into PayPal, browse to 'Profile > Website Payment Preferences'. Set Auto Return for Website Payments to On, entering a default return URL. The IPN part of the CubeCart gateway overrides this setting anyway, so you can enter any custom website address. If you are not sure what to use, use your store homepage... http://www.mermaidsseajewels.com Set Payment Data Transfer to 'On'. (submit/save etc - do not close the window) Note: I've used your site url above for clarity. Ok, to test, I normally create a very low value test product of value 0.01. This allows me to test sites without worrying about refunds etc. With your site set-up as above, post back if you continue to have problems. In my experience IPN does not always work. I've always used a slightly different tweak to automatically fix the problem. HOWEVER, you are shipping physical goods, and so automatic status changing is not too important - you'll check you've received funds anyway. The automatic status changing, from the PayPal IPN system is useful for those providing digital downloads. Anyway - post back soon :-) Jason Quote
Merm Posted July 15, 2010 Author Posted July 15, 2010 Hi Merm, for recent versions (ie those downloaded in the 2 or 3 years), you do not need to edit any code. Its important to know which version you are running. The current release is; CubeCart 3.0.20 in computer terms, this is not 3.0.2 (which could be seen as 3.0.02, and therefore very old (12 Aug 2005 according to the download page!!) So, if you have altered any code, please revert back to your backup file. Skip the instructions between; BEGIN: For CubeCart v3.0.17 and prior versions: END: For CubeCart v3.0.17 and prior version: Now follow; PayPal Account Update Log into PayPal, browse to 'Profile > Website Payment Preferences'. Set Auto Return for Website Payments to On, entering a default return URL. The IPN part of the CubeCart gateway overrides this setting anyway, so you can enter any custom website address. If you are not sure what to use, use your store homepage... http://www.mermaidsseajewels.com Set Payment Data Transfer to 'On'. (submit/save etc - do not close the window) Note: I've used your site url above for clarity. Ok, to test, I normally create a very low value test product of value 0.01. This allows me to test sites without worrying about refunds etc. With your site set-up as above, post back if you continue to have problems. In my experience IPN does not always work. I've always used a slightly different tweak to automatically fix the problem. HOWEVER, you are shipping physical goods, and so automatic status changing is not too important - you'll check you've received funds anyway. The automatic status changing, from the PayPal IPN system is useful for those providing digital downloads. Anyway - post back soon :-) Jason Quote
Merm Posted July 15, 2010 Author Posted July 15, 2010 Hi Merm, for recent versions (ie those downloaded in the 2 or 3 years), you do not need to edit any code. Its important to know which version you are running. The current release is; CubeCart 3.0.20 in computer terms, this is not 3.0.2 (which could be seen as 3.0.02, and therefore very old (12 Aug 2005 according to the download page!!) So, if you have altered any code, please revert back to your backup file. Skip the instructions between; BEGIN: For CubeCart v3.0.17 and prior versions: END: For CubeCart v3.0.17 and prior version: Now follow; PayPal Account Update Log into PayPal, browse to 'Profile > Website Payment Preferences'. Set Auto Return for Website Payments to On, entering a default return URL. The IPN part of the CubeCart gateway overrides this setting anyway, so you can enter any custom website address. If you are not sure what to use, use your store homepage... http://www.mermaidsseajewels.com Set Payment Data Transfer to 'On'. (submit/save etc - do not close the window) Note: I've used your site url above for clarity. Ok, to test, I normally create a very low value test product of value 0.01. This allows me to test sites without worrying about refunds etc. With your site set-up as above, post back if you continue to have problems. In my experience IPN does not always work. I've always used a slightly different tweak to automatically fix the problem. HOWEVER, you are shipping physical goods, and so automatic status changing is not too important - you'll check you've received funds anyway. The automatic status changing, from the PayPal IPN system is useful for those providing digital downloads. Anyway - post back soon :-) Jason Thanks Robsta and Jason, I appreciate the info. I actually had not changed any code so I was okay. I changed the "https" to http: but that was all . I just tried to buy "time in a bottle" and I thought everything had went through, I got a message with a transaction code and letting me print out a receipt. I thought all was well until I returned back to shop, and got that error message others have got saying " your order has failed" you can try your transaction again. However, Paypal shows the the transaction number and that the amount of .01 was sent, the charge was completed but the amount was unclaimed??? Does this mean it didn't go through?? Back at my shop, it says I received a payment but as far as the customer is concerned, they don't think their order worked. Is this where the tweak comes in hand?? And yes its 3.020 but i have no idea why i have a merchant code, I didn't sign up for one, just followed the paypal ipn instructions. Any ideas?? Quote
vokf Posted July 16, 2010 Posted July 16, 2010 Hi Merm, The IPN stands for "Instant Payment Notification". When a Payment is made, the PayPal system sends some data to the CubeCart store. The store then updates the Order Status to "Processing". If the IPN fails, the Status stays at the "Pending" state. In my experience, the IPN often fails. The tweak I mentioned is fairly old, but does work - instead of PayPal sending data to the store, the store contacts PayPal for the payment status of the transaction. The tweak is a bit complex to implement if you're not that technical, and I would not apply this for a store selling physical products (unless the store was very busy) Looking at your products, I would suggest switching IPN OFF on CubeCart, and re-testing. Also... ensure that you are using the correct URL. http://www.youstore.com is NOT the same as http://yourstore.com (although both work). The tweak I mention is really for those that want to ship digital products (MP3/Images etc) and so do not want to manually set the order status. On a digital goods store, this step is important. On a site with Physical goods, it is less important (you have to create or at least pack your goods- so checking payment and is not a big issue) Post back with your results - remember to use the correct url (probably need the www)... Also, if you installed CC3 via cPanel, please test using http://yourstore.com (cPanel install misses out the www prefix) We can fix/address this once its working. Regards. Jason Quote
Merm Posted July 16, 2010 Author Posted July 16, 2010 Jason, I think I'm not understanding your reply because when i disable the IPN in cubecart, and I try to place an order, the only choice I get is postal order, and I want to use the Instant payment notification. Perhaps you meant something different? The url shown is http://www.mermaidsseajewels.com/modules/g.../PayPal/ipn.php I went ahead and tried to enable it again and got a update failure,went back into paypal and reloaded and tried to place the order again. I get a message saying Thank you for your order, with a transaction code, the heading is [email protected] And once again, when I return to merchant, it says Comfirmation Screen: Basket Address Payment Complete Sorry, your order failed! You can attempt to purchase your basket contents again below: And , Yes I did install through cpanel using simple scripts And right, I have to say my husband claims I send negative energy currents into computers so they do things he can't believe. And unfortunately, he is a software engineer with no time to help me get this going.. So I doubt I could follow the "tweaks" you mentioned. I appreciate any help you can give me. Quote
vokf Posted July 16, 2010 Posted July 16, 2010 Hi Merm, sorry - you can disable IPN by changing; Method: IPN to Method: Standard Leave the Status: Enabled As you used cPanel, there is a setting in the store config that sets the base url of the store. By default on cPanel install, this is the; http://mermaidsseajewels.com I assume you're using; http://www.mermaidsseajewels.com Ok, ensure your PayPal set-up in CubeCart is; Status: Enabled Method: Standard Email: (your primary PayPal account email, probably [email protected] as you mention below) Test Mode: No Default: Yes Then, visit your site using; http:/mermaidsseajewels.com Purchase your test product. Post back the findings. Jason Quote
Merm Posted July 16, 2010 Author Posted July 16, 2010 Hi Merm, sorry - you can disable IPN by changing; Method: IPN to Method: Standard Leave the Status: Enabled As you used cPanel, there is a setting in the store config that sets the base url of the store. By default on cPanel install, this is the; http://mermaidsseajewels.com I assume you're using; http://www.mermaidsseajewels.com Ok, ensure your PayPal set-up in CubeCart is; Status: Enabled Method: Standard Email: (your primary PayPal account email, probably [email protected] as you mention below) Test Mode: No Default: Yes Then, visit your site using; http:/mermaidsseajewels.com Purchase your test product. Post back the findings. Jason Jason, Ok, I got much further this time. My buyer saw a message saying payment was made, and they were directed back to my site automatically where the same failure message came. This time though, I got an email saying I received the payment and I can ship now, and the "buyer" got an email saying they had made payment.. SO it seems everything is working but the message the buyer receives when they are automatically sent back to the store... One other question , which I know seems so trivial to all of you, but I'm still trying to understand if you want me to go into CPAnel's File Manager and make these changes As you used cPanel, there is a setting in the store config that sets the base url of the store. By default on cPanel install, this is the; http://mermaidsseajewels.com because I can't find a place to edit it in the store config. When I go into the paypal IPN config there is a IPN url that was already populated with http://www.mermaidsseajewels.com/modules/g.../PayPal/ipn.php, but I can't find this in the store config Thanks again, I really appreciate the support. I also realized I never filled these out because I was unsure of the response. Could this be a problem? Root SECURE Public HTML Folder to store: e.g. /store/ (Include Trailing Slash) Absolute SECURE URL to store: e.g. https://secure.domain.com/store (Excluding Trailing Slash) Enable SSL: (Warning: This change takes place immediately after submit. Please ensure your secure Root Directory and Secure URL are correct and working before setting this to Yes) Quote
vokf Posted July 16, 2010 Posted July 16, 2010 Hi Merm, do not touch the SSL config in CubeCart Admin. Unless you know what you are doing, it could cause access problems (you'll not be able to log into admin). The "www" prefix is depreciated, but its an old habbit for most people. For now - keep any testing to the non www version. I can't help much tonight but if you've not done so already, I would strongly recommend taking a back-up of the account (you can do this in cPanel). Don't worry about asking questions :-) You may find the search facility helpful, but its often difficult to know what to search for. Regards, Jason Quote
Merm Posted July 17, 2010 Author Posted July 17, 2010 Hi Merm, do not touch the SSL config in CubeCart Admin. Unless you know what you are doing, it could cause access problems (you'll not be able to log into admin). The "www" prefix is depreciated, but its an old habbit for most people. For now - keep any testing to the non www version. I can't help much tonight but if you've not done so already, I would strongly recommend taking a back-up of the account (you can do this in cPanel). Don't worry about asking questions :-) You may find the search facility helpful, but its often difficult to know what to search for. Regards, Jason Jason, Ok, I got it working!!! I tried searching again on paypal and failed messages and came up with a fix from Renaissance. Here's the thread. http://forums.cubecart.com/index.php?showt...mp;#entry174439 It appears to be a simple fix, with no code changing. I wasn't quite clear on the instructions but he and Estelle figured out that we need to make sure that our PAYPAL primary ID is the same as our Cubecart. So, it was as simple as going into my PAYPAL profile, and making sure primary id was changed to the same email as my cubecart. I did that, and went back into the store and made a purchase, and this time, got a message saying congratulations your order went through.. or something like that. It WORKED. Thanks Jason for all of the help. Now one to customizing the store and adding products. And so far, I haven't made a single change to code, which is great, since I would probably have brought down all of cubecart Quote
djcaseanova Posted August 6, 2010 Posted August 6, 2010 I am having the same problems, IPN for digital downloads is not working on my site. I get order failed after a transaction seemingly goes through. Emails are setup correctly and matching in both Paypal and CC. This is a fresh install... no strange codes have been added or anything that I am aware of. And it won't let me do a "Live transaction" because it says I can't use the same email addresses from CC and PP. lol any other possibilities? Quote
djcaseanova Posted August 6, 2010 Posted August 6, 2010 Okay... just found the best tutorial ever! lol it's step by step start to finish on how to setup IPN properly! Worked flawlessly! << third-party link removed >> Quote
Guest Posted August 14, 2010 Posted August 14, 2010 Okay... just found the best tutorial ever! lol it's step by step start to finish on how to setup IPN properly! Worked flawlessly! << third-party link removed >> I've been trying to get a CubeCart shop integrated with PayPal Std. for days. Eventually, I get to this post (only a couple of days old) telling us that a 'flawless tutorial" is available ... only to find that a moderator (presumably) has removed the link !! lol !! There seem hundreds of posts asking for help on PayPal integration - and lots of ideas for 'the fix' - many of them contradictory. Many threads are just left hanging ... (why don't moderators link them to 'the correct solution - assume one exists) . The v3 setup documentation on this site says it's up to date, but then has corrections. One post has "Setup-US", which is different to just "Setup" (ie without a US suffix) ! Why not ONE correct one! One of the recent posts says that v3 integration is now the same as v4 integration - - so I guess that the setup there is problematic as well !! Questions: a) Some posts say that IPN SHOULD be set ON in PayPal, some say it should be set OFF - and that CC will do whatever is necessary. Which is most likely to work? Some posts say AUTO RETURN should be set ON in PayPal, some say OFF (as otherwise IPN timing may be problematic). Which is most likely to work? c) Some posts say IPN timings are an issues. If one test transaction fails - (and I then modify the setup or code, etc) shold I wait (for the old transaction to decay) before putting through the next test, if so, how long ? d) re this forum - It's one of the least good I've used (and I've used a lot) - my latest error message is ""Error. No Payment gatway variable is set" - so I tried searching on this forum for this phrase - only to get the response "One or all of your search keywords were below 4 characters ". I removed the short! words ... and now have 2,278 threads to read - most having nothing to connect them to the area I'm looking for!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.