I have implemented braintree in my project.I have used javascript on client-side and .net on server side.I am using custom form integration to use paypal vault.i have done transaction. The payment is authorised and is submitted for settlement.But now i am unable to capture a successful payment transaction in my controller code.How can i do this?
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
You can use our disbursement webhooks. These will provide you with a list of transaction ids that were disbursed to your merchant account as part of this disbursement. If this does not solve your problem, I suggest you reach out to our support team for more help.
Related
Is it possible to create PayPal subscriptions using only a client side javascript (and Firebase if needed)?
I'm a bit confused with PayPal; there are so many frameworks/options to do same thing that I don't know where to look exactly.
https://developer.paypal.com/demo/checkout/#/pattern/client
This seems similar what I'm looking for except it's only for payments, and I need subscriptions.
Just an update on this ticket. Paypal do now have a javascript client-side API that works very well. Here is the link: https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/
You can use PayPal WPS Subscription Buttons
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#recurring-payment-variables
This is a button integration so you can use JS and HTML to create a plan and redirect buyers to paypal.com. You can specify your subscription terms and PayPal will take care of making recurring payments. You can also maintain inventory, profile & loss tracking.
For any API integration its highly risky to use client side JS.
I am trying to create a website that will allow people to post items for sale and then receive a payment through paypal once the item is purchased. Ideally I would have them link their paypal account to my website, before they post any items, and user would checkout via paypal. This would be a very similar setup to what ebay has with paypal. Can someone point me to what type of integration this is? Also could someone point me to the proper docs? I don't think i'm using the correct terminology so I'm not finding anything. I am a developer so i'm not afraid to code this up. Thanks
If you want to create this kind of integration you will need to make a few user experience decisions first. The flow of Ebay allows a person to link a payment method to their system and upon purchase directs them to an Ebay paypal checkout page that acts as a payment using stored credentials to do a transaction with the Ebay paypal account. Internally Ebay then performs other transactions from their account with other user's registered payment information to mediate the exchange. It is not directly user-to-user. The first question you as a developer need to answer is : Do you want to use the pre-built paypal experience or design your own with paypal integration?
The simplest pre-built experience causes your users to be directed away from your website to paypal where they handle their transactions and then are returned to your site along with a REST payload that informs your site whether a transaction was successful or not.
Another service offered by paypal is called Paypal Payment Advance which allows them to provide you with a template integration on your website which performs the transactions on your domain. To learn more about that, see here.
The custom experience requires you to learn the Paypal developer API and how Paypal operates and stores credentials which can be found here. This option is only if you really want to have complete control of everything and are willing to put in the work. It is also the most difficult option, but gives you the greatest control over the end experience.
Stripe has an example ( https://stripe.com/docs/charges ) where I can charge a user, and in return I would be the one receiving the payment. But in React Native, how can one Stripe user send a payment directly to another Stripe user? An example would be extremely helpful.
Will upvote and accept the answer.
Thank you in advance.
You need to use Stripe Connect in order to accept payments on behalf of others. Keep in mind that Stripe is not a money transmission service -- the charges you create must be for the sales of actual goods or services.
The Stripe API doesn't have react-native support today, so to solve that problem you could create a web system like a Payment Gate way to process your transactions, there you can implement everything you need and use the Stripe Docs to guide you.
Does SimpleCart supports paypal express checkout ?
I need to get shipping address from customers which is not supported in standard checkout by paypal.Please suggest any way of doing that without involving backend.
Yes it is possible to use simpleCart for paypal express checkout with their sendform but it requires back end coding. You can send the post data from the cart and use it for express checkout.
Typically you are able to get shipping address from customers with standard checkout. Whenever I have had someone checkout using standard it has always just included their shipping address in the PayPal transaction details.
Is it possible to send shipping address to Paypal Standard?
I am trying to integrate braintree for payments in Nodejs and Javascript.
I have created an account on https://sandbox.braintreegateway.com and now I am trying to integrate my braintree payment with my website using "drop in" integration, I followed all the steps given on site, with which I get a paypal button, which on click opens up a paypal pop up window in which I enter my account details, After which it asks to agree on various terms. After clicking Agree it says :
"Sorry we cannot connect to PayPal. Please try again in a few minutes. Try Again"
I am not sure why I am getting this.
Looks like a problem of setting up my profile of Paypal with Braintree (though in sandbox it doesn't really matters). I tried to follow set up of paypal with braintree as instructed on braintree portal, but with no success I am still at the same Error Message.
Code used is from following Braintree documentation:
https://developers.braintreepayments.com/javascript+node/guides/drop-in#paypal
Please help me out with this.
I was able to contact braintrees support and they configured my sandbox account.
This is what they said:
Hey Johhan,
Thanks for reaching out to Braintree support. I’d be happy to help.
I took a look at your Sandbox account and it looks like you weren’t
set up with a processor connection to test out PayPal. This can happen
sometimes when Sandbox accounts are created outside of the United
States.
We have corrected this setting and your Sandbox is now set up to
process PayPal. You can verify that PayPal is a valid payment method
in your Sandbox by logging into your Sandbox Control Panel and
clicking on Settings > Processing. You’ll see a list of accepted
payment methods next to your Merchant Account.
Hope that helps! Let us know if there’s anything else we can do for
you.
Best,
Basically, you have to verify that PayPal is a valid payment method in your sandbox account.
I contact their support team. this was their response
"I believe you’re running into this issue because your sandbox was created in Pakistan, which is not a supported country with PayPal. If you are a developer working for a US based merchant on an integration, you will need to signup for a US sandbox account. You can do this on our website by selecting United States as your country using the drop down menu on the bottom left of the page"
Remember: bottom left of signup page >> Select Country as US
i signed up for another sandbox account on Braintree using US as my country and it worked perfectly.