I'm using gwtp and smartgwt UI components. Can anyone help me with some
code to link the submit button to the paypal script? How do I get the id of
the submit button?
private ButtonItem btnPay = new ButtonItem("Pay");
I plan to create a button such as the above which will, on click, use the
ac
Thanks :)
On Saturday, 12 May 2012 08:41:58 UTC-5, Sydney wrote:
>
> I use the Paypal Adaptive API. So far I managed to display the paypal page
> using a lightbox. But I have a problem when trying to close the lightbox. I
> failed in Step 4
>
> *3. Include the PayPal JavaScript functions from dg
When the user cancels or finishes the purchase, Paypal redirects the user
to a page within the iframe or popup window. My cancel URL looks like this
http://127.0.0.1:/xxx.html?gwt.codesvr=127.0.0.1:9997#!homePage;cancel=true.
I am using GWTP so the following code should give you an idea on
Thank you so much for the reply!
So you're calling JSNI above from the return/cancel page correct?
If so are you doing something like window.parent. paypalClose() from inside
the IFRAME that paypal insert
the return/cancel pages from?
Thanks!
On Monday, 28 May 2012 03:42:58 UTC-5, Sydney wrote:
public static native void paypalClose() /*-{
if (top && top.opener && top.opener.top) {
top.opener.top.dgFlow.closeFlow();
top.close();
} else if (top) {
top.dgFlow.closeFlow();
top.close();
}
}-*/;
On Sunday, May 27, 2012 8:21:25 PM UTC+2, Mayumi wrote:
>
> How did you end up fixing this
How did you end up fixing this?
On Saturday, 12 May 2012 08:41:58 UTC-5, Sydney wrote:
>
> I use the Paypal Adaptive API. So far I managed to display the paypal page
> using a lightbox. But I have a problem when trying to close the lightbox. I
> failed in Step 4
>
> *3. Include the PayPal JavaSc