#Gautam
1 messages · Page 1 of 1 (latest)
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 ..
Sorry, which code? You asked for ACSS test credentials
yes ..
I'm not sure what you're asking me I'm afraid
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
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?
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;
I understand. No, there's no difference.
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
I would recommend using SetupIntents so you can collect the Payment Method details directly from the customer: https://stripe.com/docs/payments/acss-debit/set-up-payment
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 ?
You can find them here: https://stripe.com/docs/payments/acss-debit/set-up-payment?platform=web#test-account-numbers
Please, let me know if you have any other questions.