PDA

View Full Version : Paypal 'return to merchant' confirmation and receipt


feemish
29-Jun-2007, 11:11 AM
Hi All,

V7.0.3

Something at Paypal has changed recently I think... on Tuesday 26th June.

Up until then, on the paypal confirmation page, there was a 'return to merchant' button.
Clicking this sent the customer to my actinic receipt page, which triggered an email, and also provided google with the data for my conversion tracking.

However since Tuesday 26th i havent received a single confirmation email or any conversion tracking data. It was working fine till then, and no changes were made to my site.

I went to paypal and made a test purchase on my site, at the end of the process i noticed there was no longer the 'return to merchant' button, but a 'return to arka' button ( my site) The design of this page was also different.
Anyway, clicking this button, did not take me back to the recipt page !! It took me back to my site, but to a regular catalogue page !!

Something has definately gone wrong with the Paypal-Actinic integration, probably due to the re-design of the page by paypal.

I have raised a ticket with Paypal Technical support, I'll report back later.

Has anyone elso seen this... maybe if we all raise the issue with paypal they may repair the changes they have made.

Mark

http://www.arka-shop.co.uk

pinbrook
29-Jun-2007, 11:59 AM
Other have been talking about the lack of Paypal emails in this thread

http://community.actinic.com/showthread.php?t=30987

this is V8 but i wonder if the common thing here is the loss of "Return to Merchant Site"

feemish
29-Jun-2007, 12:13 PM
Hi Jo,

Yes, I saw that. Its possible that the problem isnt v8 at all, just a coincidence.
The paypal confirmation page has definately changed very recently. That coincided with my loss of confirmation email and adwords tracking... and as I say, I'm still on V7.0.3 with no recent changes.

Regards,
Mark

http://www.arka-shop.co.uk

leehack
29-Jun-2007, 12:36 PM
Hmmm, maybe it's Paypal then and not actinic after all.

Darren B
29-Jun-2007, 12:56 PM
Sound like a bit more work need to find the cause, maybe a comment from actinic on this and perhaps they can take a look for us aswell

D

Bruce
29-Jun-2007, 01:32 PM
I am checking this for you.

Kind regards,

feemish
29-Jun-2007, 01:53 PM
thanks Bruce, as paypal are not being very helpful at the moment.
Mark

http://www.arka-shop.co.uk

feemish
02-Jul-2007, 10:27 AM
Hi,
Hhmm,
Paypal denying all responsibility.
But I'm not sure.

As i say, for over a year this has been working fine. The 'return to merchant' button used to forward people to my receipt page, where it would trigger the receipt email and update my google conversion data. (My conversion code is and always has been in 'Act_receiptprimary.html'
This all stopped working last tuesday, when i noticed paypals pages had changed. Coincidence or not??

The paypal guy is saying my code is corrupted...?

I dont know what code might be corrupted.
As far as i remember when i set this up, all the return URL data was contained in the paypal integration. I didnt really do anything, just chose the paypal option in actinic and it all worked fine. I've never specified a return URL... thats donre in the integration.. no?

As far as I'm aware, as nothing has changed my end, the problem is that the paypal confirmation page is no longer returning people to my receipt page... thats it.

Any advice ?, Clues ?

Best regards,
Mark

These are the paypal replies

I have just made a test payment using the "return" variable and I did return to the specified URL.

Please review the code to make sure you're using the right value of return url.

The solution you are refering to is not offered by PayPal. Please contact the developers of this 3rd Party Solution to resolve the problem, alternatively you may visit their forum and refer to the documentation provided.

The text on the Return to merchant button may be customized by using the "cbt" variable (which is probably used by your 3rd Party Shopping Cart as well as the "return" variable). I have created the payment button using the "return" and I provided the url to the Thank you page - for your information it does not matter what was my return URL specified, the fact is that I was redirected to the specified return page http://myhomepagerandomaddress.com/thankyou.html

Looks like your code is corrupted. Please re-install the script, contact the provider of that solution to enquire what may be the reason of this behavior.

This is not a problem on our end.

feemish
02-Jul-2007, 10:31 AM
By the way.
on my paypal account, auto return is off as paypal account is optional.
so i dont specify a return url at my paypal account.
Thanks,
Mark

http://www.arka-shop.co.uk

Bruce
02-Jul-2007, 11:26 AM
In that case you will be best assigning one.. check the bottom of http://community.actinic.com/showthread.php?t=30200

Kind regards,

feemish
02-Jul-2007, 02:19 PM
Hi Bruce,
Thanks for the reply.

For the last 18 months this has worked fine.
I have had email receipts sent out and google conversion data sent, shoppers have been being directed back to my receipt page.
How ?
I have never specified a return Url, yet this has always worked. Does the actinic integration contain the receipt page url ?

Why do you now suggest using a return Url ?

the reason i never did this is because it wont work anyway...
The paypal website says;

Note: If you have enabled Auto Return and have chosen to turn on PayPal Account Optional for new users, a new user will not be automatically directed back to your website, but will be given the option to return.

I'm loathe to start tinkering changes... as it was all working fine.
Could the actinic integration code be corrupt as paypal suggest. Should i try a websit purge and refresh?

Thanks,
Mark

feemish
02-Jul-2007, 02:21 PM
Hi Gravity,

which version of actinic are you running?

feemish
02-Jul-2007, 02:23 PM
If i were to specify a return Url... which should i use.

http//:www.mysite.co.uk/receipt.html

or

http://www.YourSite.co.uk/cgi-bin/os000001.pl

Regards,
Mark

http://www.arka-shop.co.uk

feemish
02-Jul-2007, 04:19 PM
Nope..
No joy here.

I've refreshed the entire site.

I've tried activating the 'auto return' and have tried both URLS

http//:www.mysite.co.uk/receipt.html

and

http://www.mysite.co.uk/cgi-bin/os000001.pl

I then made test payments.
After clicking the 'new' return to arka button, i was sent straight back to my homepage! Neither attempt sent me to the receipt page.

Paypal no longer sends customers back to my receipt page.
Thats it.

It used to no problem, i cant believe that its a coincidence that the paypal checkout pages changed at the same time!!.

Can anyone tell me how it used to work..? Seeing as i never specified a return URL before anyway. How is it that for the last two years, paypal has correctly returned people to my receipt page, triggering both email receipts and google conversion code? This function must be built into the actinic integration , no? So why has it stopped working.

Any help please,
Thanks.
Mark

http://www.arka-shop.co.uk

feemish
02-Jul-2007, 04:32 PM
thanks anyway gravity,

youre on v8 so it might not be affected in the same way.

I host myself, so i know i've not changed anything, and i only use stable releases of controlpanel etc.

I also refreshed the website in case it was a corrupted script.

Mark
http://www.arka-shop.co.uk

feemish
03-Jul-2007, 09:49 AM
I still cant work this out..

I cant get paypal to return to my receipt page as it always did... :o(

Paypal deny all responsibility:

As you are using a pre-integrated PayPal solution, we are unable to verify the code. The standard button with return URL specified will work.

You will need to contact the provider of that cart to see if they are aware of any issue like that. Apart from that I would suggest checking your server logs as well.

The return URL website you provided does not work at all : http://www.my-shop.co.uk/receipt.html

It looks like your files got corrupted.

I refreshed the site, i thought thast would repair any corrupted files.

Yours,
stuck
Mark

feemish
03-Jul-2007, 10:22 AM
Hi all,

looking around the forum, i cant believe the amount of people who are having this problem!
Whats going on? Surely this should be a really simple issue. I've read other threads where people say their actinic-paypal integtration just stops working... no one seems to be finding the solution... cant believe it.

As for specifying the auto return URL at paypal... am i right in thinking this will make no difference anyway as it will be overridden by the actinic integration code anyway ??!!

The Return URL will be applied to all your Auto Return payments unless otherwise specified within the button or link for that website payment. You may specify a different Return URL by changing it in your profile settings; otherwise, you may add or edit the HTML (variable: return) associated with a button or link. In this case, the Return URL that is associated with the button or link will override what was specified in the profile settings.


So it doesnt matter what you put in there..

Regards,
Mark

http://www.arka-shop.co.uk

feemish
03-Jul-2007, 10:31 AM
Hi Gravity,

The only rearl script listed as being modified is;
MailForm.pl
I did change mailform.pl over a year ago, to stop the email spam vunerability that existed.
No other changes.
gonna email support now.

Regards,
Mark

Bruce
03-Jul-2007, 04:42 PM
Hi Everyone,

There has been some change on PayPal's end that we are investigating. Can everyone who are having issues with PayPal please tell me as to when it started happening, was it the 26th of last month?

Kind regards,

TraceyHand
03-Jul-2007, 07:26 PM
I can't remember when mine stopped, Bruce but it was definitely earlier than 26th June. I'd put it down to upgrading which was about the end May)
The biggest problem is that not many customers seem to click past the receipt page.
When is the email generated? When paypal returns to the receipt (which I think I've fixed) or when the customer subsequently clicks "done"?

Paypal have definitely got something weird going on too though. I did actually get a copy of a customer email for a paypal order earlier today....18 hours after the order was placed! Now *thats* slow!

I'm still only getting maybe 1 in 50 of these emails, despite checking that they do work (albeit slowly) by placing orders myself

Bruce
03-Jul-2007, 07:52 PM
It gets sent when you click 'Done'...

Like I mentioned earlier, there has been some change at PayPal's end and we are awaiting a response from them. The more information we can get will help us put across a strong case with PayPal.

Kind regards,

TraceyHand
03-Jul-2007, 07:59 PM
It gets sent when you click 'Done'...

ok...well tbh, I think this accounts for why most of us don't get one then.
a) those people whose sites aren't working correctly (ie redirecting back from paypal to the receipt page for whatever reason) and
b) customers who, even when they ARE taken to the receipt page, aren't seeing and so clicking on the "done" button

This page is editable, I might see if I can move my button up.

feemish
03-Jul-2007, 08:56 PM
My last receipt email was 25th June, this was the last time my google conversion tracking worked too.

Before then, nearly 50 % of people went to my receipt page and clicked 'done'
as i have a message on the last actinic checkout page, asking people to 'return to merchant' on completion.

Now I cant make paypal direct back to my receipt page... no matter what i try.

Budget bumps... its not people not clicking 'done'.... theyre not getting directed back to my receipt page at all... i know this coz
a) my google adwords conversion tracking code is on that page, and doesnt need 'done' to be clicked to function
b) I've tried making test purchases myself... and clicking the new button 'return to arka' (used to be return to merchant) on the completion page sends me to my homepage... not my receipt page.

I'm convinced this is paypal...they've definately changed their checkout pages... but their support is unfortunately useless.

Cmon... everyone with paypal.. using v7... make a test purchase using paypal and see if you can get directed to your actinic receipt page.

It cant just be me!

TraceyHand
03-Jul-2007, 08:59 PM
Budget bumps... its not people not clicking 'done'.... theyre not getting directed back to my receipt page at all...

yes, I know..
I had the same problem and was just adding my experience/name to the list

feemish
03-Jul-2007, 09:06 PM
sorry if i sounded curt...thanks for your interest

Bruce
04-Jul-2007, 02:39 PM
Update:

We have heard back from PayPal and there has been a change made on their end that will cause issues with return to the merchant site.

Our development team are workign with them at the moment to get something in place quickly. The new system would require the use of IPN instead of return URL, the reason being 'If you just rely on the return URL you will not get any notification if the customer, for some reasons, does not wait to be taken back to your web site and closes his browser.'.

I will keep you updated in the mean time.

Kind regards,

Darren B
04-Jul-2007, 04:37 PM
Comes back to a suggestion i made before, why is the email not tied up with the payment file, when it gets to the server it send the email?

The only time this is not required is for any order processing that does not use payment file for example, account orders, cash on delivery, which i doubt anyone uses and we dont have one for cheques............lets not get me started again.

Darren

TraceyHand
04-Jul-2007, 04:41 PM
and, on testing the whole paypal procedure myself, I can tell you that the bounce back from paypal to Actinic, even when set up correctly, is VERY slow and I seriously doubt that many customers would hang around and wait (since they're finished with our website by that point anyway)

Bruce
04-Jul-2007, 07:12 PM
All that will change with the new method and hopefully you should have instant notification.

On another note, are both of you having an avatar competition... very interesting ones by the way :)

Kind regards,

feemish
04-Jul-2007, 07:25 PM
thanks for letting us know Bruce..
the paypal support were just stonewalling me.
...
off to search for an avatar.
Mark

feemish
05-Jul-2007, 11:08 AM
Hi Bruce,

After much hassling on my part, paypal support have finally taken me seriously.. I've received this reply.

Is this of any help?

If i want to try the suggested change, which file do i alter?

Or should i wait for the actinic developers to come up with their fix?

Its interesting to note they say auto-return must be switched to off!
(which it always has been)
There are many highly conflicting views about this... arent there?
Lets hope we can find the definitive fix!

Regards,
Mark

From review of the checkout form code that is being used on your website it appear that the return variable is being dynamically created to include a querystring. Here is an example from on of my tests:

......arka-shop.co.uk/cgi-bin/os000001.pl?SEQUENCE=3&ACTION=Finish&ORDERNUMBER=MC812710001565&REFPAGE=http%3a%2f%2fwww%2earka%2dshop%2eco%2euk%2facatalog%2fprimative%2dtribal%2djewellery%2ehtml&

The problem this causes can be contributed to two things first is Auto-return being turned on. You will want to shut this off as it causes the return option to be set as a GET. The second thing you will want to do is add the variable "rm" with a value of "2" set in the <form> post made to PayPal. This will ensure a POST instead of a GET return method and it will keep the querystring added. In order for the "rm" value to work you will need to have the Auto return off.

As for the new Payment pages, they have been active on the website for over two months so I do not think this is the case, although I am still looking into the pages but have not found any differences in these pages compared to old build pages that I have tested on.

http://www.arka-shop.co.uk

Bruce
05-Jul-2007, 11:16 AM
Mark,

There indeed are differing views, that is why I have removed the setup information I posted to the 'PayPal Setup' sticky thread and replaced it with a message saying I would post back with the proper setup once we have worked this out with PayPal.

I have passed their note onto the development team and will post back with updates.

Kind regards,

feemish
05-Jul-2007, 01:36 PM
Hi all,

Well i thought i'd implement the changes suggested by the Paypal support anyway... and guess what? It seems to be working now!

Auto return switched to off.
No return URL specified.

(its always been like this)

I then opened my OCC_Paypal template and had a look for any return mail variable... there wasnt any.

I then saw on this thread from a couple of years ago
http://community.actinic.com/showthread.php?t=16688
that 'PA.com' had this code in his OCC_paypal template

<FORM NAME="formOCC" METHOD=POST ACTION="NETQUOTEVAR:OCC_URL">
NETQUOTEVAR:OCC_VALUES
<P>
<input type="hidden" name="rm" value="2">
</FORM>
<FORM METHOD=POST ACTION="NETQUOTEVAR:OCC_URL">

So i added this line;
<input type="hidden" name="rm" value="2">
to my template.

I've uploaded it, made a test payment, clicked 'return to arka' and Lo and Behold i was taken instantly to my receipt page!!

Why this line of code was not in my OCC_paypal template... i dont know.
It has not been edited before. last modified:9.01.2003 (before we bought actinic)

I also have no clue why its been working for over a year without the return method specified. Something somewhere must have changed.

Anyway... it does seem to be working now.

I'll wait a day or two to see if its working for my customers, but it just worked twice for me, paying by credit card.

Fingers crossed,

Mark

http://www.arka-shop.co.uk

Bruce
05-Jul-2007, 03:38 PM
Mark,

Thanks for posting this...

Kind regards,

Bruce
06-Jul-2007, 08:04 AM
I have updated the sticky thread with the following...

How to configure callbacks on the PayPal Control Panel:

On the Merchant interface (logged in to www.paypal.com (http://www.paypal.com/))

- go to 'Edit profile | Website payment preferences | Auto Return' and set to 'off'.

- Open the {Site Dir}\CommonOCC\OCCPayPalTemplate.pl with a text editor like notepad

- After line:
AddPostValues ('&', 'bn', 'ActinicCat_Cart_ST', $ALWAYS, $NOENCODE); # hard code the provider

- insert the following line:
AddPostValues ('&', 'rm', '2', $ALWAYS, $NOENCODE); # Set form send method to POST

- save the file and exit editor

'Upload' for your site and PayPal should now be properly configured.

Kind regards,

feemish
06-Jul-2007, 11:08 AM
Hi Bruce,

just checking... the above code is for V8 isnt it?

as none of that code appears in my OCCPayPalTemplate on V7

The code i added to my V7 site still seems to be working fine.

Regards,
Mark

http://www.arka-shop.co.uk

bekyed
12-Jul-2007, 01:32 PM
Hi,

Can anyone give me the code as above for version 7 please.

Thanks.


Wayne.

TraceyHand
12-Jul-2007, 03:21 PM
I have updated the sticky thread with the following...

How to configure callbacks on the PayPal Control Panel:

On the Merchant interface (logged in to www.paypal.com (http://www.paypal.com/))

- go to 'Edit profile | Website payment preferences | Auto Return' and set to 'off'.

- Open the {Site Dir}\CommonOCC\OCCPayPalTemplate.pl with a text editor like notepad

- After line:
AddPostValues ('&', 'bn', 'ActinicCat_Cart_ST', $ALWAYS, $NOENCODE); # hard code the provider

- insert the following line:
AddPostValues ('&', 'rm', '2', $ALWAYS, $NOENCODE); # Set form send method to POST

- save the file and exit editor

'Upload' for your site and PayPal should now be properly configured.

Kind regards,

Bruce...does this set up do anything different to having a return URL specified as previously advised?

(Editted to say...in V8, btw)

Bruce
12-Jul-2007, 04:07 PM
Hi Tracey,

For v8 the preferred setup will be as per my post on #40, this is because there have been a few changes on PayPal's end and they have changed the way the call back is handled.

For v7 too the same change would apply. I am going to remove the post on top as that is a fudge to the solution.

Kind regards,

freakmode
18-Jul-2007, 01:20 PM
- After line:
AddPostValues ('&', 'bn', 'ActinicCat_Cart_ST', $ALWAYS, $NOENCODE); # hard code the provider


I have just tried to find this line as our v8.5.1 site is still not emailing order confirmations to Paypal customers (or to us) and we are inundated with people checking that their order was successful.

However I am unable to fund the above line in our code, we have:

AddPostValues ('&', 'bn', 'SureSolutions.Actinic', $ALWAYS, $NOENCODE); # hard code the provider

Do I paste the extra line under there?

Bruce
18-Jul-2007, 01:31 PM
David,

Do I paste the extra line under there?Yes, copy the line you quoted and paste it right below the one you have.

Kind regards,

TraceyHand
19-Jul-2007, 09:51 AM
Bruce

If/when this change is made in the paypal template..do I need to edit the occupgrade.ini to prompt it to upload the change?

Bruce
19-Jul-2007, 09:55 AM
Not necessary. An upload should put the new file / parameters up.

Kind regards,

freakmode
19-Jul-2007, 10:09 AM
Bruce

We made this change yesterday and we are still not getting any confirmations from Paypal

Bruce
19-Jul-2007, 12:57 PM
I am checking this for you...

george
20-Jul-2007, 10:41 AM
With the amount of Actinic sites that use Paypal most people must have this issue sorted out, surely?

Unless its just Freaky, Miss Bumps and us?

If you read this and your Paypal process works as it should, in full, then please post the solution, thanks.

TraceyHand
20-Jul-2007, 10:49 AM
With the amount of Actinic sites that use Paypal most people must have this issue sorted out, surely?

Unless its just Freaky, Miss Bumps and us?

If you read this and your Paypal process works as it should, in full, then please post the solution, thanks.

Actually, G...mine works fine on both sites.
I'm just rallying for the cause ;)

but you've tried my method already (using the auto return url pointing to receipt page) and it didn't work.
Could be hosting related?
Be interested to know if it is

Bruce
20-Jul-2007, 11:28 AM
George,

You are on 851 now so my original fix should work for you.

If you have made the change as suggested in an earlier post... Then check the following

Did you change the file under the site folder or the 'Original' folder? It should be under the site folder / CommonOCC.

Check the generated file (CommonOCC\Output\PSPBounce_00900.fil) to ensure it contains the change then check that the file is actually uploaded by checking the same file on the server.

Kind regards,

thatscrafty
27-Jul-2007, 07:54 AM
Hi,

I am not sure if this is the same problem but customers who have paid by PayPay are not getting an email confirmation sent to them after they have placed the order.

If you pay by cheque or HSBC the email confirmation email is sent out as it should be.

I have read the previous threads and was wondering if the "auto return" part in my PayPal account should be set to on or off? This has been working with it off and I havnt made any changes so should it be left as it is or changed?

Thanks for the help,

Graham

Bruce
27-Jul-2007, 08:40 AM
To get PayPal to return the shopper to your receipt page...

Version : 8.5.0 and earlier

On the Merchant interface (logged in to www.paypal.com (http://www.paypal.com/))

- go to 'Edit profile | Website payment preferences | Auto Return' and set to 'off'.

- Open the {Site Dir}\CommonOCC\OCCPayPalTemplate.pl with a text editor like notepad

- After line:
AddPostValues ('&', 'bn', 'SureSolutions.Actinic', $ALWAYS, $NOENCODE); # hard code the provider

- insert the following line:
AddPostValues ('&', 'rm', '2', $ALWAYS, $NOENCODE); # Set form send method to POST

- save the file and exit editor

'Upload' for your site and PayPal should now be properly configured.

Kind regards,

thatscrafty
27-Jul-2007, 09:36 AM
It is already set to off so do I just copy the line of code in and upload?

Just added the code and that seems to have sorted it.

Many thanks