No 'cancel' option for user in PayPal 'Donate' workflow - paypal

I'm using the auto-generated Paypal 'Donate Button' code. Everything works great, but if the user has second thoughts before confirming their donation, there isn't a 'Cancel' or 'Back' option shown in the workflow pages. Does the user need to use the browser 'back' button? Thx.

When you create the button in PayPal you need to specify the URL to send the user to when they cancel - this is an option at Step 3 of the creation process.

Related

Stop ICN onLogout event

I have a requirement wherein, I need to stop user logging out from ICN based on certain condition i.e. if a user is on a specific page of a custom plugin and then clicks on Logout, I need to stop log out event and alert the user. Tried using desktop onLogout event and was able to bring the alert but couldn't stop the icn being logged out. Please help.
The desktop.onLogout is indeed only triggered after logout.
ecm.widget.layout.CommonActionsHandler#actionLogOut is what you're looking for.
Using aspect.around would enable you to alert, cancel and postpone the actual action.
Related jsdoc:
https://www.ibm.com/support/knowledgecenter/en/SSEUEX_2.0.1/com.ibm.developingeuc.doc/doc/JavaScriptdoc/symbols/ecm.widget.layout.CommonActionsHandler.html#actionLogOut

PayPal 'Buy Now' button option - how to access?

I am adding a PayPal "Buy Now" button to a web site using code supplied by the PayPal developer site. It's possible to have options, for example garment sizes, XL,L,M,S... I see how to set up the button so the user can make a choice, but how do I access the choice so that I can take action? Is this supposed to be done in HTML, or should I write a CGI program to take my action - this is my preferred option - but either way, how can I access the option values? I am new to all this, but I can't find anything in the PayPal Developer documentation.
This can be easily done. Please look at the follow sample implementation and the source code for setting a Multi option based button.
https://www.paypal.com/us/cgi-bin/webscr?cmd=_pdn_xclick_options_help_outside

Ionic close underlying views

I've developed an Ionic application which works as an online shop.
The app opens views like this (in a flow)
Start -> Articles -> Cart -> Checkout (-> Credit card payment) -> Order confirmation
When the user presses the back button in the order confirmation view, Ionic goes back to the Checkout (or credit card payment) view. This makes sense for Ionic, but for the user it's weird to go back to checkout when just ordered. How can I close the cart/checkout/cc-payment view that is open underneath the confirmation, so that when pressing the back-button, the user is taken to Articles?
You can use the $ionicHistory service.
With this you can call something like $ionicHistory.goBack(-2) in your controller to take you back 2 views instead of the default one view.

"Send via Phone Call" button grayed out / disabled while trying to register for Facebook developer account

I am trying to register for a Facebook developer account. So I went to developers.facebook.com and then tried to go through the registration process. During the steps, facebook requires me to provide my phone number in order to receive a confirmation code for registration. A dialog box shows up and I enter my phone number in it. But even after I do this, I am unable to click on "Send via Phone Call" button because it is grayed out / disabled as shown below. Please note that I have just put a fake phone number for the image here, but the button won't enable in spite of my putting my real phone number.
All I could do is click on "Send as Text". But the problem with that is the fact my phone can't receive text messages. So I am stuck, because I can't click on the "Send via Phone Call" and receive a call on my phone for the confirmation code.
Could someone please let me know how I get around this and complete the registration process for the developer account? Either having a way to enable the "Send via Phone Call" button or having a way to register without a phone number or another way that I am not aware of would be good.
Thanks.
I think the original comment by Tzar deserves to be an answer as its 2016 and still, works:
Short story:
The Send via phone call button is greyed out and disabled, but the functionality exists. Facebook just made a lazy/temp/quickfix by just disabling the control, not removing the functionality. What that means is if you can simply enable the button, it will work. So we need to tamper with that html.
Solution:
Do an inspect element with your browser on that button, and simply remove the disabled="1" property. Here is the tricky part: the button will remain greyed-out but it will be clickable, and i can confirm it just worked for me.

PayPal Advanced EmbeddedForm

Following the instructions in their documentation, I've successfully implemented a PayPal Advanced solution within an iFrame. The process works fine using a credit card. However, there are also two buttons that show up in the form for "Checkout with PayPal" and "Checkout with BillMeLater..."
When the user clicks either of these buttons, the window breaks out of the iframe and the session has expired.
Can this top of the form be hidden, or at the very least, be made to open within the iframe and keep the session, as it should?
Thanks for any help and suggestions.
Which layout option are you using? A, B, or C? It sounds like maybe you have a conflict there..??
Chapter 3 of the PayFlow documentation covers this in depth.