close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Return from PayPal

Thread began 10/20/2011 3:36 pm by jvorzimer358609 | Last modified 10/24/2011 11:57 am by Jason Byrnes | 838 views | 6 replies |

jvorzimer358609

Return from PayPal

I have my cart up but when doing testing for its function the workflow seems to stick when the payment is finished at PayPal.

I get their confirmation page that the payment has been made but I am not returned to the checkout_success.php page.

Sign in to reply to this post

Jason ByrnesWebAssist

is this using paypal payments pro? Standard? or express checkout?

Sign in to reply to this post

jvorzimer358609

PayPal standard

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, look for the following code:

php:
<input type="hidden" name="return" id="return" value="" />



change the value to the full url of the checkout success page on your site:



php:
<input type="hidden" name="return" id="return" value="http://www.mydomain.com/checkout_success.php" />
Sign in to reply to this post

JBWebWorks

With payment standard, is it possible to automatically redirect from completing paypal back to a success page or other page?
For an example, a mp3 download.

Sign in to reply to this post

jvorzimer358609

Hi Jason,

So, this one will return the buyer to the checkout_success.php page.

Is there another reference in the code that needs to be set to return to the checkout_failure.php page when the payment doesn't go through?

Sign in to reply to this post

Jason ByrnesWebAssist

JBWebWorks: the return hidden element sets the page that the user will be returned to from the paypal site

<input type="hidden" name="return" id="return" value="http://www.mydomain.com/checkout_success.php" />



jvorzimer358609: At his point in the transaction process, there is no way to know if the status of the transaction is success or failure.

this is the week point of using paypal payments standard.

paypal payments standard is not a real time payment process, when the user is sent back to your site, the payment has been added to a queue and will be processed through the merchant bank on a first come first served basis.

the success page only means that PayPal has accepted the payment method.


Paypal uses a service called IPN (Instant Payment Notification). IPN Will send a post to page you configure on your site with the details of the transaction once it is processed. see the following page for more details on IPN:
ipn


paypal standard is one of the more difficult payment gateways to configure properly, I strongly recommend using PayPal Payments pro just for the ease of use.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...