-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payment Checkout Example does not work as is #8
Comments
Hi Nick, Thanks for pointing out these points . Here is the answer of your concerns :
Answer : part is point to parent div. But in your case its not required , you can direct find the element with jquery. We will update the document for the same
Answer : We request you to please share your JS file implementing ADF API to analyse . Seems your donation service JS is not updated on browser. Please share page URL or Customer JS file. Thanks |
I followed your advice on the first issue and seems to work fine. The second issue seems to have fixed itself. However, the code still does not work. I can see a call to /BBIS/WebApi/donationcheckout that is coming back with a success but no popup is appearing. I feel that there is a lot of information missing in the HTML portion of this example that would be very helpful to see. |
I've commented in the BB Community thread, but wanted to post here as well for anyone else who comes across the same issues. Here is source for a working example with a live demonstration available. Live Demo (this demo will probably not stay live for long) Setup:
Notes:
|
@davidmdem Thank you for your post on the community and on here. I will take a look at your source code, thank you for the work you put in and for sharing. |
Have the same issue here, it appears it try to load the checkout overlay but thrown a 500 error |
It seems like the Payment Checkout Example is incomplete and does not explain where a lot of stuff is coming from. the part variable is never defined and no mention of what it is supposed to be and getADFEditorContentInformation is referenced but an error is being thrown saying it is not a function. Could there be some clarification on this documentation or updated code, I really would like to use the new payment functionality but there is little to no documentation on it.
The text was updated successfully, but these errors were encountered: