I'm trying to write automated tests for scenarios where customer can pay using apple pay or Google pay. We use stripe as our payment processor. When I click on Apple pay or Google pay it a new browser secure element pops and I couldn't find a way to interact with them. Looking for help as I'm stuck here.
You can't interact with those by design as that would be a security risk. Instead you should look at mocking the responses from those instead.
In the case of Stripe's PaymentRequest API you should see if you can mock the "paymentmethod" event: https://stripe.com/docs/js/payment_request/events/on_paymentmethod
Related
Alexa is able to find service providers and also call them. Is it possible to use this capability from an Alexa skill. For example could an Alexa skill find and call a near-by doctor upon request?
The direct calling and search features of Alexa are not available currently within a custom skill, however you could achieve this your by using 3rd party APIs.
For example you can look up local businesses using the Yelp API and connect and connect a call using a Twilio API. You may want to register the user’s mobile number for this particular example.
It should also be noted that the features available in the Amazon SDK are always being updated. So it may be added in the future.
I am trying to find a parallel payment implementation for my mobile app, where the payment should happen with in my application and not redirected to any browser.
I have seen few options like paypal parallel payment, but this doesn't provide native app purchase support.
Can some one please point me to right direction. I am wondering am I only one trying for this option? :)
Your help is greatly appreciated.
Thanks,
Ramesh.V
You are looking for an API payment gateway rather than a checkout page solution. There are numerous services such as Stripe, BrainTree, BlueSnap and even PayPal that offer this.
The reason this is not popular for apps is that you'll need to become PCI compliant for that, which is a pain. Non of the above services will grant you access to the API without it, but they will be happy to give you a checkout page (browser) to drop the PCI compliance requirement.
I've successfully used a service called Zooz for my mobile checkout and it works nicely.
You can goto www.zwitch.co . This is an Indian payment startup which offers in-app payment natively.They have mobile SDK with which you can accept payments in your app.You can design your own payment page.They say you will be reduced from the PCI Scope
have not done any paypal integration so far.
Is any paypal plugin available for cakephp where the user can pay via paypal account or credit card ?
I don't know whether there is a plugin and if there is I don't think I'd use it. This is one of those situations where it's well worth reading up on the API and doing it yourself. That way you'll have a good knowledge of the mechanism which is vital when it comes to testing (and you need to do a lot of that) and maintenance.
The API is very well documented (https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/home), although the sheer quantity of information can be overwhelming at first, and there is a sandbox for testing (https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_testing_sandbox).
I found the IPN sample code (https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_code_ipn_code_samples) to be a very useful starting point and, to be honest, there isn't much work required beyond that.
try this one it works with paypal WPP
https://bitbucket.org/chrispierce/paypalwpp-plugin-for-cakephp-2.x/overview
There are a few implementation of CakePHP Paypal integrations out there including:
WebTechNick's Paypal IPN Plugin
http://www.webtechnick.com/blogs/view/218/CakePHP_Paypal_IPN_Plugin
Or Google for: Paypal Direct Payment API Component, or Paypal Datasource
While some of these and other plugins do the job, at our website, kumutu.com, we use a custom built system as the Paypal API is well documented and as Leo suggests, our site is quite custom and knowing exactly how the payment system works is vital for us.
Well, I've been building some free apps on top of appengine, but now I want to start charging money. My question is:
What is the best way to collect payments from users. Do certain services (paypal, google checkout, etc) work better/worse with AppEngine's library restrictions? Are there any good examples or tutorials to help me learn how to do this?
You can do this any way you want, really - and there's nothing App Engine specific about it. For example, you could use Google Checkout or Paypal, and charge users on any basis you want.
Also just something to point out about the implementation, a simple boolean property on your user object should allow you to easily turn functions in your app on and off, depending on which tier your user has paid for.
Checkout http://Spreedly.com or http://Recurly.com. Both are billing solution SaaS apps. http based api's and easy to use. I use Spreedly.com
If you plan to sell business apps you could integrate with the Google Apps Marketplace which uses Google Checkout for billing.
I'm dealing with a problem when starting with a project evolving cakephp and paypal.
I never used paypal in my life and I have a lot of questions about it. I want to know if any of you have ever seen a really starter tutorial to paypal development and a good cakephp plugin to perform this.
The project consists of a payment system by credit card that generates a commission at the end of the process for sellers. This commission will be paid through paypal mass payment.
I'm interested in found out a good cakephp open code that allows me to do all of that.
Thank you in advance.
Look like this tutorial is exactly for you. Basically in to play with Paypal you have to create sandbox account (it's explained in the post) and you can play with fake CC and data