Integrate PayPal Express Checkout Flow in a project that use GWT-RPC

109 views
Skip to first unread message

Antonino Vitaliti

unread,
Jul 3, 2015, 10:17:29 AM7/3/15
to google-we...@googlegroups.com
Hi! In my GWT-RPC project I've created the page that handles the basket, after I have added the PayPal Button. I have also created a sandbox account, and now I would use the PayPal express checkout, after the billing step I would skip directly on payment with paypal. I don't know how use this PayPal integration wizard in my case; I put on my basket package expresscheckout.java and paypalfunctions taken from the next step and I have changed the API credentials  in paypalfunctions.java as suggested.  please can someone help me give me the step that I have to do in order to make functional the paypal Checkout? I've read API but I'm very confused...Thanks a lot!

Antonino Vitaliti

unread,
Jul 7, 2015, 3:03:04 PM7/7/15
to google-we...@googlegroups.com
please help me!

Raymond Hawkins

unread,
Jul 8, 2015, 2:13:28 PM7/8/15
to google-we...@googlegroups.com
Without spending a whole lot of time on it, if you want to use GWT-RPC I think you'd basically copy most of the code from expresscheckout.java into your server-side RPC call so that it's calling paypalfunctions's "CallShortcutExpressCheckout" from paypalfunctions.java directly.

You'll need to handle the session stuff differently somehow though, either passing the amount and token back and forth from the client or storing it on the server some other way.

Good luck!

Anto

unread,
Jul 8, 2015, 2:21:15 PM7/8/15
to google-we...@googlegroups.com
Thanks! Your answer is a lighthouse in the night!

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/nWt0p8kzVVg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages