How to redirect after payment confirmation in your website using Paypal?

Hello again…

I want to share with you some tips on how to use the Paypal module in your website, specially when you try to redirect to your website after the payment is verified and completed.

I am not going to explain the whole process, just want to share a few tips on how to complete the purchase flow and get back to your site. There should be many other options out there as well, hopefully this one can be useful in your project.

That being said, let us proceed with this quick tip!

I have used the basic implementation of Paypal: Express Checkout. Once you set up the script provided by Paypal according to your needs, pay attention on the ‘OnAuthorize’ function:

paypal-1

You can use the window.location.href object in Javascript to redirect to your site once the REST api authorized the payment. Originally, the script has the window.alert object so it shows you the window with the ‘Payment completed’ message.

This small snippet has worked for me in basic implementations when I only want to know if the user paid correctly. If you need any extra information (i.e. transaction ID) then I think you should need a different solution.

 

Adobe Muse – Diseño web sin necesidad de escribir código!!

 

Quizás hace muchos años, cuando el auge del internet iba en crecimiento muchas personas se preguntaban cómo hacer su propia página sin necesidad de saber sobre html, tags, hipervínculos y cosas que pocos entendían, solo querían su página lista con lo que querían e imaginaban.

Adobe Muse hubiera sido la solución en ese tiempo, pero era algo muy complicado de hacer hasta en estos años. Este software de Adobe te permite diseñar y publicar tu sitio web para que esté listo en la red y sin necesidad de escribir código! 

Adobe Muse en acción!

Recien comencé a utilizar esta herramienta en el trabajo para hacer diseños y con los conocimientos (tampoco soy un experto) del Software de Adobe se pueden hacer sitios web de gran calidad. Por ejemplo, utiliza Widgets que te permiten de manera inmediata insertar formularios de contacto, galerías de imágenes (como lightbox de jQuery), imágenes, etc. Los ajustes de diseño de tu sitio los puedes hacer por medio de “drag and drop” para que vaya quedando deacuerdo a tus necesidades, como se ve en la siguiente imagen:

Uso de galería de imágenes tipo lightbox, formularios, estilos css, etc.

Si deseas hacer algo como los hombres, es decir, insertando tu mismo el código HTML para algún objeto, como puede ser un mapa de google maps, también lo puedes lograr con la opción que trae el software. Otra característica importante es que te ayuda a definir si tu sitio es para navegadores de computadoras (PC o Laptops) o para móviles, algo importante en estos días debido a que son populares los smartphones y tablets.

También Muse te ayuda a publicar tu sitio web indicándole el servidor y basicamente subirá los archivos por tí, con la estructura de archivos que debe de tener.

En lo personal me parece una herramienta bastante atractiva, te ahorra bastante tiempo en tener que aplicar estilos, formatos, acomodar el diseño, creación de formularios, entre otras opciones buenas. Seas principiante o experto, vale la pena probarlo. El sitio oficial de Muse ofrece un periodo de prueba de 30 días y también incluye un buen de contenido/tutoriales para poder sacarle provecho y aprender más de este programa.

http://www.adobe.com/mx/products/muse.html

Design a site like this with WordPress.com
Get started