Solidus Paypal Braintree Integration Not Working? - ruby-on-rails

Using a sandbox account, I have been trying to integrate solidus_paypal_braintree with my app.
Clicking the PayPal Checkout button brings up the PayPal window, without payment details. Then static control is returned to the app.
What am I missing here? Is there additional necessary setup to include webhooks or token?
Please see this video for more information:
https://www.youtube.com/watch?reload=9&v=nRXx90zF6BY

Address was invalid because, phone_required? was set to true.

Related

PayPal Checkout directly using the Braintree SDK - Swift

I'm trying to integrate PayPal on my IOS app. first I tried PayPal-iOS-SDK but it's deprecated and not accepted by Apple because of using UIWebView on it. So I tried to integrate using Braintree but my country not supported yet. I don't have any options but to use Checkout through Braintree. I checked this page but it didn't help me at all. I need docs or tutorials on server side and how I will add access token from PayPal on Braintree server code.
If you tried integrate PayPal checkout through Braintree Please Help Me
Or guide me with better way to integrate PayPal.
Thanks
You've linked to the correct guide.
You'll also need resources from https://developers.braintreepayments.com/start/overview , although you won't be integrating Braintree Direct or the Drop In UI -- just PayPal.
The credentials you will use for sandbox development will be from the bottom of https://developer.paypal.com/developer/applications (Log into dashboard then scroll to bottom), and later for live they will be in https://www.paypal.com/api
You'll be using the Braintree SDK on iOS, but you also need a webservice to generate the nonce. All of this is covered in the guides.

How can i implement payment through Paypal on Sharetribe opensource?

i'm trying to implement payment through Paypal on the opensource version of Sharetribe (https://github.com/sharetribe/sharetribe). By default Sharetribe doesn't allow people to use Paypal with the opensource code. How can i create the transaction using the Paypal API? Thank you!
Sharetribe doesn't have Paypal enabled on open source version because using Paypal as a peer-to-peer payment solution requires certain extra steps for a business to set up with Paypal. Sharetribe has done this for their hosted websites, but can't be liable for open sourced versions.
The code is all there for Paypal, however most people are implementing Stripe Connect instead, as, even with the Paypal code, Stripe Connect is a simpler solution to get your marketplace up and running.
In short, there is no 'setting' to turn on Paypal. A lot of code is required to enable payments.
If you want a marketplace ready-to-go with payments enabled, use Sharetribe's hosted version. Otherwise, you'll need someone with solid knowledge of Ruby on Rails in order to implement Stripe Connect.

Issues in PayPal live transaction via PayPal iOS SDK

I am developing an iOS application for iPad, version 7.x. We Need to perform PayPal transaction via the application. We included PayPal iOS SDK and referring their sample code to perform the transaction.
The sample code is placed here
There are enough funds in the customer account
Also, we have proper Client ID and secret key where funds needs to be transferred.
Both payee and payer have live accounts.
Transaction via their Sandbox account was sucess
Upon debugging the code, we found that we are able to create the payment. However, we get error while the payment is about to be approved.
Here are the error details
PayPal SDK: Request has failed with error: UNKNOWN_ERROR - System error (UNKNOWN_ERROR). Please try again later. (400) | PayPal Debug-ID: 3e8087cbf6bd1 [live, PayPal iOS SDK 2.1.2]
Is there any specific configuration which we need to include in our code for making live transaction?
Or is there specific configuration that needs to be done, in one of the accounts?
Or is there something missing the sample code provided by PayPal iOS SDK? Please advice.
The issue is that you are not using the correct ClientID. The client ID you are using is not associated with an active App from yoiur developer portal. To correct this, please go into the developer portal and either use a different client ID from a different 'active' app or create a new app.
We discussed this issue with PayPal Technical Support team, and here was the FIX:
We’ve found the issue is actually not with buyer account, some flag was not updated for merchant account "XXX#YYY.com” due to a bug which had in our system at the time it was created.
The fastest workaround to resolve this would be if you could please add another email to same account "XXX#YYY.com”.
Steps to add another email address to "XXX#YYY.com” :
Please login to the PayPal account.
Click on Profile—> Email address. Add another email address.
This solved our issue.

PayPal iOS SDK - Payment not available for apps with a Mobile SDK type of integration

I'm making and iPad app which uses the PayPal iOS SDK for payments. The problem is that I cannot Log in to PayPal from the app. I can only pay by credit card.
When you create an application on the PayPal developer page there is this message:
Important: Currently, Log in with PayPal is not available for apps with a Mobile SDK type of integration.
So my question are:
1.When will it be available?
2.If I publish my app now will it work when it will be available or I will need to update?
3.Why there is login button? It confuses the user. They have a button for login but they can only pay by credit card.
You can see the screen by clicking this link.
Thank you.
Josh from PayPal here. My apologies -- I think the messaging here could be improved.
Log In with PayPal is an oauth2 identity service, which you could use (say) to let users log in to your app using their PayPal account instead of having to create an account with your service.
The log in button you see in the PayPal Mobile SDKs, in contrast, is intended to let folks pay using their PayPal wallet, which does require that they log in. This does work, now, with a "Mobile SDK type of integration".
Hope that clears things up a bit.

Active merchant and Paypal API for recurring payment

I have few questions on paypal's recurring payments, I went trough the paypal documentation to find some answers but, it didn't help me much.
Here are the stuffs that I need to know, hope someone can help me on these.
I'm using paypal's standard payment account. So far I managed to create recurring payments with paypal by posting NVP's to paypal from merchant website to paypal.
Now I need to show recurring payment profiles on merchant web site. So that customers can cancel, modify recurring payments from merchant website without redirecting to paypal.Is this possible?
Think I should use paypal's SOAP API for this as I can't get the job done with NVP API. So I installed active merchant as described in this post. But I always get an error
This transaction is invalid. Please
return to the recipient's website to
complete your transaction using their
regular checkout flow.
from paypal and it never send me the token back.
Also I got this on my log
Security header is not
valid
Is it because I use sandbox API credentials or is it because I can't use paypal's standard account with SOAP API?
Usually the "security header is not valid" response comes from using sandbox credentials in the live environment or vice-versa. AM will use the sandbox when your Rails app is in development mode, so be sure you are using the right set of credentials.
When I was integrating PayPal's recurring payment profiles into the SaaS Rails Kit (using ActiveMerchant) I ended up just canceling a user's current profile and creating a new one when they wanted to change their subscription.

Resources