Currently I am using PayPal smart button for my website's payment gateway and I am using ASP.NET MVC to do so.
I was wondering is it possible to create an "on click" event on the PayPal in the controller. If is possible, how can I do that?
Please help
Thank you
The PayPal JavaScript SDK has an 'onClick' function which is documented here: https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk-reference/#oninitonclick
Related
First, thanks to anyone that responds, I really appreciate it.
I am working on implementing paypal express checkout.
I am looking where to add the BUTTONSOURCE property to the javascript that opens the paypal window but cannot find within the paypal documentation where to do that.
Should it occur in the paypal.Button.render method?
Any help is greatly appreciated.
I do not want to redirect my customers to PayPal website for making payment. I love the way Stripe takes credit card number via popup. https://thenextweb.com/dd/2012/10/10/the-new-pay-with-stripe-button-makes-online-payments-not-feel-like-death/
How can I do the similar thing with PayPal?
Presuming you are talking about an in-context experience using light box -
- Use the new PayPal button. Try it out here
https://developer.paypal.com/demo/checkout/#/pattern/client
Is there any way to implement PayPal Adaptive Payments without the customer ever leaving your site?
The documentation outlines using an embedded lightbox, but unless the user is already logged in to PayPal (which they almost never are), then it just opens a new window. Theres also no way to control how the lightbox / iframe is displayed - and it looks terrible!
I have seen on some sites where the PayPal payments form is embedded in an iframe on a page, but I can't see any documentation supporting that.
I'd be happy to pay for Payments Pro if that would enable it - but I cant find any examples / samples that show using Payments Pro with Adaptive Payments.
Any help or pointers would be greatly appreciated.
Matt
You can also dynamically select your hosted pages Layout template using the form post TEMPLATE parameter. This will override your default Layout template set in PayPal Manager.
I am unable to find any information related to integrating paypal express checkout with trigger.io would appreciate any help.
I have never done this myself but one solution would be to use the child browser or "modal" to pass over the data into a secure modal window and allow the transaction to continue on paypal while still "inside" your app.
Hi i'm creating an app which have shopping cart and payment done via paypal gateway.I tried reading some of documentation under paypal library..but i can't find it...Does any one know simple tutorial or any sample code that is used to integrate paypal gateway in my app.
U can directly go to www.x.com under developers menu select MPL library thats the simple way of integrating paypal in your app..The document attached to that will provide you info abt step by step integration..Follow simple payment method that will be helpful..I hope this answer will help u...