Jump to content

paypal help


Guest dog

Recommended Posts

Guest easdesig

I get this error:

when i test my gateway with paypal, it gets directed to this url:

http://www.easdesigns.com/https://www.payp.../cgi-bin/webscr

Which is a 404 error page not found like the above question

I can get up to the "choose your payment option", I click checkout and it takes me here.

im a total novice in scripting and wondering what i fudged up. any help would be appreciated.

Link to comment
Share on other sites

Obvious question but:

They are being redirected to this page after they have paid aren't they ?

yup, the payment has been accepted and the order shows up in the admin section so every things working as it should do except that the page is blank.. i was wondering if there was any way possible to make a redirect page to but after looking at the code but i dont think it would be possible hence its not just a page to say thanks for your money :P , it also has error messages in the script ..

its a bit strange..

Link to comment
Share on other sites

Guest dragon2000gh

Is there anyone at this forum who would post his PayPal transfer.inc.php and ipn.php file so it wouldn't be any more needless questions.

:P

Link to comment
Share on other sites

i've tryed re uploading the 2 files but have had no joy i've even tryed the 2 files from 3.0 version and still no joy, untill this can get sorted out i've put it on standard mode, which i think should just take the buyer to the paypal account after paypal accepts there payment

Link to comment
Share on other sites

Guest easdesig

Yes, IPN is applied in PayPal. What should a PayPal IPN and transfer.inc script should look like? sorry for my ignorance, i am just learning scripting. thanks.

Link to comment
Share on other sites

Guest easdesig

I'd still love to have someones PayPal transfer.inc.php and ipn.php file. for some reason the transfer url is http://www.mywebsite.com/https://www.paypa.../cgi-bin/webscr

WHat line is causing paypal address on top of my own domain. sorry again, this has been the most frustrating last 3 days in a while. But I need to learn so any help would be appreciated.

Link to comment
Share on other sites

Guest Oscgfx

easdig - not to be rude but i was actually asking the original poster. If you have a problem it would be helpful for you to make a dedicated topic for it unless its similar. Otherwise it gets a bit confusing. :unsure:

Dog - have you got the paypal ipn set up in your paypal account.

Link to comment
Share on other sites

yea its all set up, but im prosuming i've set it up correctly ..

but in paypal theres 2 options .. i go through what ive done ..

loged into paypal..

selected Profile

selected Instant Payment Notification Preferences

Instant Payment Notification (IPN) On

Instant Payment Notification (IPN) URL: http://www.31designs.com/store/modules/gat.../PayPal/ipn.php

but when i 1st tryed it, after it accepted a payment it didnt send be back to the store it took me to the paypal Overview page.

so i did abit of searching on paypal and found this option as well :

selected Profile

selected Website Payment Preferences

Auto Return: On

Return URL: http://www.31designs.com/store/modules/gat.../PayPal/ipn.php

now this seems to send me to the ipn.php page which is blank ..

the strange thing is i've tryed them in many orders : both set to on, 1 on and 1 off, visa versa .. and im still getting sent back to the blank ipn.php page ..

Link to comment
Share on other sites

Guest magyver

Hi Dog,

If you want the proccess to return to your store the return URL should be:

http://www.31designs.com/store/index.php.

You could create a thankyou for shopping with "31 Designs" html page and put a link "Return to Shop" you would list the link from paypal as:

http://www.31designs.com/store/thankyou.html and the link from this page back to: http://www.31designs.com/store/index.php.

Hope this helps

Link to comment
Share on other sites

cheerz magyver,

looks like i may be doing that, if no one has any suggestions as to why the script wont work properly ..

i'm swaying to the fact that it might be a paypal error hence that when the ipn is set to on and the url is correct but yet it still takes me to my paypal overview screen ..

and i've reverted all paypal settings back to how they originaly were

does anyone know what the ipn.php page is suppose to say when it works correctly, im assuming it is suppost to do something not just stay blank..lol

Link to comment
Share on other sites

Guest Oscgfx

The IPN setting in paypal simply sends the ipn.php page the variables via the internet - its not supposed to redirect the whole point is that it goes on behind the scenes. Im working on this myself at the moment and i think im getting close to a working hack. Will post it up as soon as I have it working on my own store (in ym sig).

Link to comment
Share on other sites

cool i see, so it is working properly because my orders are going through ok .. i hope you get you hack working, you'd of thought that it would redirect the customer to a page saying "thanks for your order" after your payment has been made ..

Link to comment
Share on other sites

Guest magyver

Thats easy Dog, the ipn.php is a .php script page. It has no html code in it and that is wy it is blank. Put a simple "thanks for your order" html in it and then it wont be blank. Just thought of that one.

Link to comment
Share on other sites

Guest thunderracer

maybe ime wrong here but isnt the return URL suppose to return you to confirmed.php. Thats ware ive been sending mine. Of course mine doesnt work either so I am probly wrong on all this.

Link to comment
Share on other sites

magyver : thats a good idea, but what i could realy do with is a way of intergrating into the sites look and feel, so it would look just like lets say the contact us page or the about us page ..

like this -->

order.jpg

Link to comment
Share on other sites

Guest Oscgfx

maybe ime wrong here but isnt the return URL suppose to return you to confirmed.php. Thats ware ive been sending mine. Of course mine doesnt work either so I am probly wrong on all this.

Correct - and that is what i have been trying all day to get working to no avail...

Link to comment
Share on other sites

Oscgfx is right ipn.inc is a hidden page that communicates the store with paypal to ensure the store knows whether the payment has been made or not.

The return url setting on Paypal website is for fixed payments via buy now buttons etc, they are not for IPN which is the system used in Cubecart.

I am also having the problem of not getting redirected back to the store once paypal has finished, as the orders are going through to the cubecart ok, it is just a small problem with the redirection url from the cubecart script somewhere, i will try and track it down and post once found.

Because the order is placed ipn.inc is working fine.

With regards to the other paypal redirection question with the domain name before the paypal url, i have posted several times on this forum with the possible answer, try disabling search engine friendly mod if you have it installed, should solve the problem.

Link to comment
Share on other sites

My theory for what it is worth is that once Paypal has completed, it then goes to orderSuccess.inc.php as this is a pure php page which just sends out emails etc nothing else is being displayed, havent had a proper look yet but that is what an initial investigation looks like.

Maybe redirecting at the end of that page will work???

Link to comment
Share on other sites

My apologies you are correct in setting the website payment preferences return url in Paypal, i have set that to mystore/shop/confirmed.php but now it is returning to the site but the order is saying failed although the admin is processing it??????

Link to comment
Share on other sites

This is where Paypal tries to send me after payment.

http://www.mywebsite.com/confirm.htm?tx=64J875372B082254T&st=Completed

&amt=0.01&cc=USD&cm=&sig=xxxxxxx=Return+to+Merchant

My stores address reads like "http:www.mywebsite.com/shop" and shouldn't it be going to "confirmed.php"?

Bill

Link to comment
Share on other sites

webwonderuk,

That took care of the 404 error, thanks. Now I have a new error

MySQL Error Occured

1054: Unknown column 'cart_order_id' in 'where clause'



QUERY = SELECT status FROM CubeCart_Modules WHERE cart_order_id = '050816-082709-4567'

I checked and thats a valid "cart_order_id" number.

Bill

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
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...