![]() |
Not returning to site after paypal payment I've been testing the selling mechanics. Everything works fine all the way through to the end of the purchase... until paypal tries to redirect me back to the site. Paypal redirects me back to this link Code: Content visible to verified customers only.In payment_verification php, the forward for a purchase is set up as: Code: Content visible to verified customers only.Code: Content visible to verified customers only.This is my next to last major issue... LOL... I'm getting there... |
if you do a successful payment you should get forwarded. Yes you go to payment_verification which verifies the payment and you should get forwarded to showproduct.php what is in your ipn settings in paypal is it the full url to our payment_verification.php script? |
Which paypal...? I am not using classified's subscription system. I handle all subscriptions through vbulletin, and autopromote members to seller status so they can sell on classifieds. And its IPN is set up for vbulletin as per their instructions for making subscriptions work. Code: Content visible to verified customers only.After purchase, paypal says *you are now being redirected to sellers website* - and that's where it redirects me to the white screen of death. So do sellers have to modify their paypal IPNs to sell here? Or do I need to create another paypal account for attackofthecraft so I can set up another IPN for classifieds? Sorry if I sound confused. IPN seriously confuses me. I'm not even sure what it does. I just follow directions given to me to set it up ;) |
Okay but for our payment to work we use IPN as well and maybe thats your problem is your not allowing paypal to send back the payment information for that script to function. I bet your ads are not marked approved either as a result either right? Ads not being marked as paid? You probally need to create a different paypal for classifieds as we use IPN to bounce back the info to the script on payment completion the script then processes the payment verification and should forward to the ad the user just placed. |
Got it. I will try that next and report back if it doesn't fix the problem. Thanks! |
No problem enjoy your weekend. |
That didn't fix it. I opened a brand new paypal account, put this in for the IPN Code: Content visible to verified customers only.Then I went and purchased a test item that a friend of mine listed in the classifieds. After the sale went through paypal, it was redirected to payment_verification.php, with a white page, just like before. The listing does show as sold... Kitty Ear Hoodie - AttackoftheCraft Handmade Shop But the redirect is not working. |
so lets go through this Your saying you buy an ad and everything is marked as sold etc but your not being forwarded? If thats the case I have no idea because if your clearly executing the code in that file Code: Content visible to verified customers only.I will have to setup a test and let you know. |
I reverted back to a clean payment_verification.php (because I'd changed the wording on the emails send to buyer and seller) just to see if my changing the emails might have done something - it can't hurt to test... I still get a redirect back to payment_verification.php and a white screen. The product was marked sold as well, just like before. And like I said, that is with the clean php code that came with the program. |
well I have to look up my second paypal account as I need that to be able to test it ;) |
Hey, Chuck... any update with your testing? This is pretty much my only major hurdle left in getting this shop online :D |
No still testing the two tests I have done have worked thus far. Here is something you can test. See if you just go to payment_verification.php you should only see a white page. Your saying the actions are being performed which means you should be forwarded so try adding these lines in payment_verification and tell me what happens. Tell me what the forward message is so pay attention there. ;) Code: Content visible to verified customers only.response and we can try something else. |
Here is a transaction walkthrough, just as I'm seeing it. Please note this is a transaction to purchase an item that has been placed in the classifieds by a seller, like a car or a piece of clothing. This is not a subscription to classifieds (which I'm handling through vbulletin) or purchase for an ad, or a feature like bold or highlighting. *** I place a classified ad selling a piece of clothing as angrygirl gear with buy it now through paypal enabled. In the ad, I put my angrygirl gear paypal email address where it asks for a paypal address, because I want to get paid if someone buys the piece of clothing in my ad, right? Right. I then purchased this listing by clicking the buy it now button on the ad. When it got to the paypal screen, it has the angrygirl gear logo at the top, indicating that I was buying from angrygirl gear. The links all say *cancel and return to angrygirl gear. This is fine, except that the links that say *cancel and return to angrygirl gear* don't work - they go to payment_verification.php and the white screen of death. My angrygirl gear paypal account is forwarded to a thank you page on my website. And its set up with an IPN that subscribes me to all my paypal transactions: Code: Content visible to verified customers only.So far this is all good, and what I want to see, until it gets to the redirect. It redirects me back to attackofthecraft.com/shop/payment_verification.php - which just pops up as blank screen. I don't know how to make this redirect back to attackofthecraft. If I changed my website redirect on MY angrygirl gear paypal, that would work, but then it would always redirect to attackofthecraft, even after a website sale. This is a broken process, as website sales have nothing to do with attackofthecraft. Additionally, there are going to be many, many sellers selling on my classifieds site. I can't ask every person who is going to list an ad on our classifieds to change their website redirect back to our classifieds shop - many of them have websites of their own like I do, and that would break their process as well. What I need is for it to redirect back to the classifieds shop after purchase... from many different seller's paypal accounts - OR to simply end on the last page of paypal where it says your transaction is complete, and provide a link on that page back to the shop. Oy vey.... |
I posted at the same time you did... well, I was writing a long post when you posted haha. I'll try this now, but you can still get an idea of the business flow I'm looking for in that other post. I'm beginning to think this software might not work for what I need - a community of multiple sellers who accept paypal :S Quote:
|
That code is for the subscription area, which I won't be using. I need the product purchase area, this area... the forward at the end of this is the one that doesn't work. Code: Content visible to verified customers only. |
Okay well are you saying if you purchase the ad everything works right? You are only getting the white screen of death when hitting a cancel link? If thats the case in the buy template in our application is this line Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
I get it on the cancel links, and on upon redirect or forward. All of it points back to payment_verification.php and the white screen to nowhere. Its like it doesn't let payment_verification.php finish running its script. |
nm this post! |
Ok... wait... that worked for the cancel link. Will changing the target in the piece of code just above it, for redirect, work, too??? *crosses fingers* |
*runs around screaming like a little girl* *which is ok, because I'm a little girl* IT WORKED!! I used this in the buy template [php]<input class="bginput" type="hidden" name="return" value="{$Globals['maindir']}/index.php"> ROCK the eff ON!! |
| All times are GMT -5. The time now is 05:25 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0