Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 PayPal code needs more...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rmmarsh
Super User

USA
396 Posts

Posted - 09 Feb 2008 :  15:21:16  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Hi Davide... when you have more than one shopping cart button on a page, you have to have some way of notifying PayPal that you want to continue shopping. So, in the button generated code, make the following changes. This will cause a 'continue shopping' button to be displayed on the PayPal site...
-------------------------------------------
change this line
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
to this
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self">

add this line
<input type="hidden" name="shopping_url" value="urlofpage">
---------------------------------------------

s.dav
Site Admin

Italy
3364 Posts

Posted - 10 Feb 2008 :  14:11:55  Show Profile  Visit s.dav's Homepage  Reply with Quote
Fantastic! Many many thanks! I'll apply the change tomorrow!

Regards, Davide
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 10 Feb 2008 :  15:10:41  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Great! Now, how do I get the updated code from you? (I have already gone into the HTML and made the changes, but it would be nice to have it done automatically when I have to change the page).

R
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 11 Feb 2008 :  01:40:24  Show Profile  Visit jtarin's Homepage  Reply with Quote
Most likely in an updated version soon to be available.Keep your eye on the download page for a version increment change.

Porky
www.pacificwavetour.com
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 11 Feb 2008 :  08:55:24  Show Profile  Visit s.dav's Homepage  Reply with Quote
@rmmarsh

Simply click on the "Check for updates" on the program and search for a revision major than 4.0.194 ;-)

Regards, Davide
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 11 Feb 2008 :  20:49:07  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Can you please post here when you have those changes I mentioned earlier included in a build? Also, it's probably obvious, but on the last line, you need to change 'urlofpage' to the name of the chosen page.

R
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 12 Feb 2008 :  09:12:20  Show Profile  Visit s.dav's Homepage  Reply with Quote
Sure yes ;-)

Regards, Davide
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 12 Feb 2008 :  11:56:51  Show Profile  Visit s.dav's Homepage  Reply with Quote
Is the target="_self" important in this line

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self">


?

Regards, Davide
Go to Top of Page

jtarin
Super User

Russia
444 Posts

Posted - 12 Feb 2008 :  13:12:55  Show Profile  Visit jtarin's Homepage  Reply with Quote
Without it PayPal opens in a secure new window. I don't use target="_self" on my site. it's a personal preference, but not necessary for correct operation.

Porky
www.pacificwavetour.com
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 12 Feb 2008 :  14:40:19  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Haven't tried it without 'target="_self"... I got this information from Frank at PayPal... he said that was what I needed to have it return to me correctly.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 13 Feb 2008 :  09:14:35  Show Profile  Visit s.dav's Homepage  Reply with Quote
I'll make some tests ;-)

Regards, Davide
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 16 Feb 2008 :  15:34:45  Show Profile  Visit s.dav's Homepage  Reply with Quote
Just release the version which includes the changes you requested

Regards, Davide
Go to Top of Page

richinri
Expert

78 Posts

Posted - 17 Feb 2008 :  09:50:06  Show Profile  Visit richinri's Homepage  Reply with Quote
Nice, thanks!

Richard
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000