PayPal "Return to calling page"...

User 2483932 Photo


Registered User
4 posts

Hello everyone,

I have created a form that opens in a popup window that when submitted opens the confirmation screen with the PayPal button on it...When you click that button the PayPal form is then loaded full screen...perfect...

Problem: If I click on the "Cancel and return to website" link it is returning to the original form that should be opened in a popup but it is loading full screen and with no navigation links the user is not able to get back to my website...

Question: Can I change the URL that is passed to the PayPal form so if a user cancels the transaction they are returned to a page I specify?

Thanks in advance for any help.

Shawn

CC WFB Version: 2.2 Build 5051

Also, Are there upgrades to CC software? I don't see anywhere to download an upgrade...
User 187934 Photo


Senior Advisor
20,271 posts

I think that is done on your Paypal account settings.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1948478 Photo


Senior Advisor
1,850 posts

Peter Forbes wrote:
CC WFB Version: 2.2 Build 5051

Also, Are there upgrades to CC software? I don't see anywhere to download an upgrade...

The current version of WFB (Windows) is 2.3, Build 5217

To download the latest version, click on 'Your Account' in the upper right corner of this page, then on 'Your Purchases'. This will show you a list of programs you have purchased, current version and download links. Upgrades are free. :)
User 2483932 Photo


Registered User
4 posts

Thanks guys...
User 2483932 Photo


Registered User
4 posts

Update on original problem..

In the fbapp\php folder
open the checkoutcontroller.cls.php file
line 293 change
$checkout->setCancelUrl( getFullUrl( false, false ) . '?action=checkedout' );

To
$checkout->setCancelUrl( 'URL YOU WANT' );


Seems to be working.
User 187934 Photo


Senior Advisor
20,271 posts

Cool! So it passes the url even if they cancel when their at PayPal?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2483932 Photo


Registered User
4 posts

I think so. It went to the page I put there when I clicked the "Cancel and return to website" link.

I haven't checked yet but I'm thinking I could do the same thing for the line above that one that is setting the "$checkout->setReturnUrl" and be able to control which page the user goes to after completing the transaction...

If that works then maybe I could disable the email notification and take care of that on the Return page which would solve the problem of getting emailed before that actual transaction has been completed.

User 187934 Photo


Senior Advisor
20,271 posts

Keep us posted on your success. Thanks for looking into this. It's nice to give users options.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.