braintree

How to update CVV of stored credit card on braintree [closed]

三世轮回 提交于 2019-12-25 18:37:38
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I am using braintree Payments on magento store. I have a featured to stored maskedNumber of used credit card.I am storing related token number of valuted CC. Now I want to give option to change/update Cvv of stored credit card. I need your help here that how can I do this ? Which call I need to

I would like to add new javascript file to my spree extension

眉间皱痕 提交于 2019-12-25 05:36:07
问题 I am new in rails. I'm trying to build Spree extension to use Braintree's drop-in UI. I'm trying to add new braintree.js to my extension. These are the steps I did so far. Added braintree.js to <my_extension>/app/assets/javascripts/spree/frontend/ Added //= require spree/frontend/braintree to app/assets/javascripts/spree/frontend/<my_extension>.js . Created braintree.rb in <my_extension>/config/initializers/ . Content of this file: Braintree::Configuration.environment = :sandbox Braintree:

Braintree escrow payment not working?

痞子三分冷 提交于 2019-12-25 04:15:34
问题 I am testing braintree ecrow payment in sandbox account . Below is the code I have written. //Set the Configuration Braintree_Configuration::environment($config['mode']); Braintree_Configuration::merchantId($config['merchant_id']); Braintree_Configuration::publicKey($config['public_key']); Braintree_Configuration::privateKey($config['private_key']); $result = Braintree_Transaction::sale( [ 'amount' => '100.00', 'merchantAccountId' => 'test', 'creditCard' => [ 'number' => '5105105105105100',

Using Braintree on Meteor mobile (android - cordova)

旧街凉风 提交于 2019-12-24 17:43:24
问题 I am using Meteor 1.3 with android platform and patrickml:braintree@1.32.0 to be able to process in-app payments. I configured braintree and inserted a Drop-in UI, which is the simplest way to do it. While testing, if I run it on web (localhost) or with meteor run android-device with no mobile-server configuration, then the drop in UI is shown on the device. However, when I try to integrate everything on my hosted server in Digital Ocean and try to test it using: meteor run android-device -

braintree how to vault a payment method ready for subscription

佐手、 提交于 2019-12-24 17:16:40
问题 I'd like to create a customer with a payment method then store the payment method in the vault and then to create a subscription for the user so far I have this: $rs = \Braintree_Customer::create([ 'id' =>$m_id, 'firstName' =>$username, 'paymentMethodNonce' =>$nonce ]); but this doesn't appear to be storing payment methods in the vault, is the above code correct for storing payment methods in the vault? 回答1: You need to send the customer_id and paymentmethodnonce to BT. Follow the ways

Correct way to link PayPal Accounts to vault with Braintree DropUI

喜欢而已 提交于 2019-12-24 13:24:01
问题 I have the following controller: class PaymentsController < ApplicationController before_action :authenticate_user!, only: [:new] def new gon.client_token = generate_client_token end def create @result = Braintree::Transaction.sale( amount: 60, payment_method_nonce: params[:payment_method_nonce]) if @result.success? puts @result.transaction.payment_instrument_type flash[:notice] = 'Yes, transaction completed' else flash[:alert] = "Something went wrong while processing your transaction. Please

$1 credit card verification for Braintree

吃可爱长大的小学妹 提交于 2019-12-24 11:36:29
问题 guys. I'm using Braintree for site payments. Trying to provide $1 credit card verification. I have found in guide the piece of code. result = Braintree::Customer.create( :first_name => "Fred", :last_name => "Jones", :credit_card => { :payment_method_nonce => nonce_from_the_client, :options => { :verify_card => true } } ) Is this $1 dollar verification with verify_card parameter? Thanks a lot. Best regards. 回答1: Full disclosure: I work at Braintree. If you have any further questions, feel free

How can I change subscription period on braintree?

牧云@^-^@ 提交于 2019-12-23 15:15:31
问题 I want to add some unit tests for our billing system which is using braintree but I don't know how to change the subscription period from 1 month (minimum in braintree for now) to 1 day. I cannot wait 1 month to execute my test. is there any solution to do that? 回答1: I recently asked Braintree support a similar question and here is the advice I was given:- The sandbox environment is setup to mimic the production environment exactly. Unfortunately, this leaves us at the mercy of real time as

Send money from Braintree

霸气de小男生 提交于 2019-12-23 09:19:42
问题 I use Braintree for my website on payment. It's OK when receiving money but now I want to transfer money to specific client account (not refunding). Please help me. Thank you! 回答1: Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support. This is not possible due to Payment Card Industry regulations: [I]t is against card association (e.g. Visa, MasterCard) rules for a merchant to transfer funds to a credit card without a pre-existing sale

Cannot create subscription using Braintree Payment Nonce

懵懂的女人 提交于 2019-12-23 09:11:38
问题 I am using a Braintree Payment Nonce to create a recurring subscription request. The below code is what I have to create a subscription. I'm using Payment Nonce which is received from Client. But the subscription request fails with a message "Payment method nonce is invalid." Any help/pointers would be much appreciated. SubscriptionRequest request = new SubscriptionRequest() .paymentMethodNonce(customer.getPaymentNonce()) .planId(customer.getPlan().getBraintreePlanId()); Result<Subscription>