braintree

Force TLS 1.2 on appengine dev server SDK

社会主义新天地 提交于 2019-12-11 06:56:36
问题 This is similar to this question: Force TLS > 1.0 on AppEngine local development server in Java except that the answer doesn't work because it assumes a static SDK location(?). I have a Google App Engine application that uses a third party payment library (braintree) that communicates over HTTPS using TLSv1.2. However, whenever the braintree library makes calls to the braintree sandbox environment the resulting urlfetch always gives the following error: Caused by: javax.net.ssl

How to edit a card in Braintree's dropin in UI?

独自空忆成欢 提交于 2019-12-11 05:22:34
问题 I'm using Braintree for my site's payments and it works well except that when a user has selected a payment card from its chrome's history and he/she mistakenly inputs a wrong CVV the Braintree will fail the transaction (when trying to verify) but it saves the credit card and the user cannot edit him/her mistake, and only thing he/she can is to delete the CC using the Braintree's vault manager and re-enter again! Question: How can I make drop-in to edit the selected card when the card's

Issue with Payment method selection when I add Braintree Drop-in UI in Spree Store

为君一笑 提交于 2019-12-11 04:33:23
问题 I'm trying to implement extension to accommodate drop-in UI of braintree when customer selects Braintree as a payment method. If I add braintree js code into _gateway.html.erb then all the other payment methods stop working. If I select any other method except braintree and click "Save and continue" then nothing happens. "Save and continue" button just gets disabled. I've overwritten spree/frontend/app/views/spree/checkout/_gateway.html.erb. <% if payment_method.name == "Braintree" %> <div id

Encrypting credit card details using AngularJS in Braintree

两盒软妹~` 提交于 2019-12-11 02:26:49
问题 I am using Braintree for payment gateway and I have across an issue. I am sending credit card information with other user details. For security purposes Credit card information has to be encrypted and it is being done by Braintree by including following: braintree.onSubmitEncryptForm('braintree-payment-form'); This works fine until I use pure javascript (AngularJS) in front-end and I'm seeing that data is not encrypted while sending to server, Here is code: <form name="paymentForm" ng-submit=

How does one handle Webhooks in BrainTree

99封情书 提交于 2019-12-11 00:35:18
问题 I am trying to use the BrainTree webhooks for subscription transactions but have been unable to get my page to verify. From BrainTree: https://www.braintreepayments.com/docs/php/webhooks/destination_verification When you attempt to add the destination, our servers will make a GET request to the provided URL with a query param named bt_challenge. This query param should be passed to the verify method. The result of calling this method should be returned as the body of the response. Braintree

Braintree Dropin UI does not work with Ionic Framework unless force refresh

孤街浪徒 提交于 2019-12-10 22:53:41
问题 I encounter a very strange behavior with Braintree dropin UI inside Ionic framework. So I use the solution: Can't create Braintree client token with customer ID to create the logic for the first time and the return customer. $http({ method: 'POST', url: 'http://localhost:3000/api/v1/token', data: { customerId: braintreeReturnCustomerId } }) As I passed in the customerId in my client view. In my nodejs server, I has a logic to check to see if customerId is undefined. If it is undefined, it is

BrainTree drop-in controller not show correctly

混江龙づ霸主 提交于 2019-12-10 21:51:57
问题 why my Braintree Drop-In controller doesn't have label for Credit Card, Expire date, and CVV on their respective TextField? It only show blank textfield without label. 回答1: I haven't found the solution for manual installation. But new BrainTree Pod install (3.6.1) fix the problem (missing label) without showing another problem ( GCC_TREAT_WARNINGS_AS_ERRORS & GCC_WARN_ABOUT_MISSING_NEWLINE ) 来源: https://stackoverflow.com/questions/28669385/braintree-drop-in-controller-not-show-correctly

Braintree for iOS apps with paypal integration

删除回忆录丶 提交于 2019-12-10 21:39:22
问题 Is the a braintree iOS SDK for native iOS app payment system integration that uses paypal payments too? I cannot seem to find one. Is there a third party sample code? Or is there a guide on how to do it? 回答1: I work at Braintree. If you have more questions, please reach out to our support team. Yes, the Braintree iOS SDK includes PayPal support: PayPal Braintree offers a few options when accepting PayPal payments. First, you'll need to choose whether you would like to use our Drop-In UI or a

Braintree not updating user preferred/default payment method

无人久伴 提交于 2019-12-10 20:58:31
问题 When a customer wants to choose his payment method while creating a sale order I see it changed in the DropInUI(small tick mark) and I assume that should become the default payment method but that is not what happens at my server, I still get the payment token for the first one. Here's what I'm doing: String token = btGateway.customer().find(customerId).getDefaultPaymentMethod().getToken().toString(); Case: Customer A places an order with his credit card - All Good Customer A places another

Paypal Braintree Subscription Payments

拥有回忆 提交于 2019-12-10 18:45:54
问题 I cannot find anywhere how to do the javascript code for paypal subscription via braintree. Here is the code that I currently have that at least gets me to the checkout part for a single transaction amount. But I want to know how to implement a monthly reoccurring amount. lets say 1.99 a month until it is canceled. What am I missing? Java Code @Path("/braintree") public class TestBraintree { private static BraintreeGateway gateway = new BraintreeGateway( Environment.SANDBOX, "myMerchantId",