Skip to main content

Different between Paypal Javascript API and Classic API

Last time i did a mistake in my project.

I used PaypalJavascriptButton from github.

--Javascript Version

I thought 'data-callback' used to make auto return but it is not. That parameter used to trigger IPN.
Auto return actually triggered by 'data-return' and
cancel payment triggered by 'data-cancel_return'.

You will be warned by Paypal via email if you not actually use the IPN and they will block your IPN if no futher action taken.

--Classic version

Note: If you need Paypal Data Transaction (PDT) you must read 'How to setup IPN listener' in production mode / sandbox mode. This is because PDT require 'IPN'. 

Popular posts from this blog

Laravel Voyager Nested Resources

Voyager is the Laravel missing admin panel. Voyager version 0.10.13 by default not provide nested resources. So these what i found to achieve that.
Issue 1 - Routing & ViewI want to create a bread for the books and the pages.

/admin/books - works by default
/admin/book-pages - works by default
/admin/books/{book_id}/book-pages/create - how?
/admin/books/{book_id}/book-pages/{book_page_id}/edit - how? here the guide:
Issue 2 - Controller Level dataTypeContent Filter$dataTypeContent in views/vendor/voyager/{slug}/browse.blade.php my book-pages resource under books resources. books/{book}/book-pages I have no idea how to filter the dataTypeContent by the book.
here the guide: