#Gautam

1 messages · Page 1 of 1 (latest)

paper riverBOT
slim vigil
night garnet
#

currently , we have ACH setup for US customer .. will that code we can not re use ..it seems bit different

#

we are using node.js ..

slim vigil
#

Sorry, which code? You asked for ACSS test credentials

night garnet
#

yes ..

slim vigil
#

I'm not sure what you're asking me I'm afraid

night garnet
#

sorry ,let me explain you from start

#

currently we have ACH setup which customer from US have been using
basically we are creating subscriptionand attaching to customer with ACH details
stripe.subscriptions.create({
customer: customerId,
default_source: paymentMethodRef,
metadata: {
solution_id: solutionId,
customer_org_id: customerOrgId,
payment_method_reference: paymentMethodRef,
last4,
payment_type: paymentType
},
items: [
{
price: priceObjectId,
tax_rates: [taxRateReference]
}
]
});

#

as below .. what kind of change do we need to support for ACSS

signal kayak
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

#

customer with ACH details
Do you mean that the Customer has an ACH Payment Method attached?

night garnet
#

in our current Implemenation where we are supporting US customer (ACH) .. please refer above code (how we are creating subscription to customer for any customer ..now we want to write code to support ACSS ..do we have any different way to create subscription .. ( I believe not ) ..how we should create payment method reference for ACSS

#

current ACH .. code
stripe.customers.createSource(customerId, {
source: tokenId
});

#

this is how token we have been creating

#

stripe.tokens.create({
bank_account: {
country: constant.COUNTRY,
currency: constant.CURRENCY,
account_number: accountNumber,
routing_number: routingNumber,
account_holder_name: accountHolderName,
account_holder_type: accountHolderType
}
});
return token;

signal kayak
#

I understand. No, there's no difference.

night garnet
#

what about token code
stripe.tokens.create({
bank_account: {
country: constant.COUNTRY,
currency: constant.CURRENCY,
account_number: accountNumber,
routing_number: routingNumber,
account_holder_name: accountHolderName,
account_holder_type: accountHolderType
}
});
return token;

#

these fields do we get for ACSS
account_number: accountNumber,
routing_number: routingNumber,
account_holder_name: accountHolderName,
account_holder_type: accountHolderType

signal kayak
night garnet
#

sure .. for ACSS as well customer should have these fields
account_number: accountNumber,
routing_number: routingNumber,
account_holder_name: accountHolderName,
account_holder_type: accountHolderType ?

#

any sample test ACSS account if you can provide ?

signal kayak
#

Please, let me know if you have any other questions.