Jump to content


Photo

dg.js (javascript) questions


  • This topic is locked This topic is locked
No replies to this topic

#1 w0lfshad3

w0lfshad3

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 13 October 2011 - 12:27 AM

Hello,

I've integrated Digital Goods with a GWT type site and I've run into a snag.



1.
After I press cancel inside the Digital Goods flow (and page is not refreshed, since it's not a paged web app, so every java object remains in place), and I run dg.closeFlow();
if I press the paypal button again to enter the Digital Goods flow, it only works up until it puts on the mask (the grey modal background that prevents interaction), but it doesn't start the flow again.

How do I cleanup whatever is needed in the javascript to restart the flow manually, without refreshing the whole page (which is the solution right now - a bad one)?



2.

If I run into the "Return to merchant" page in the picture attached, the one with the:

"We are unable to complete your request at this time. Please try again later. We apologize for the inconvenience."



its Close button doesn't close the flow and return to the merchant page, instead it leaves the mask on (the grey modal background that prevents interaction)



How do I make that Close button work properly?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users