#ferdinand-ach-ct
1 messages · Page 1 of 1 (latest)
hi! there's no example code beyond what's in and linked from the page you mentioned. Which part are you having trouble with? Note we know nothing about Lavarel specifically here.
hi @pallid geode thank you for the response. i still collect the information about this payment.
maybe i will ask 1 / 1. i start with this
in step 2. Have the customer push funds. we need to provide these 2 fields for customer to submit.
ach_credit_transfer[routing_number]
ach_credit_transfer[account_number]
because i still testting it. what should i insert for these fields?
you don't insert those, they're returned from the API
when you create the Source object in step 1, if you look at the response from the API it contains those fields. Those are account numbers that you then show to the customer, the customer goes to their bank and sets ups a transfer to send money to that account.
in test mode we simulate the customer doing that and sending the money immediately, see https://stripe.com/docs/sources/ach-credit-transfer#testing-ach-credit-transfer-payments
on my understanding. if i can convert step 1 to my flow. will like this :
-
i will create form that only have field email. so customer will insert their email and submit
-
on my controller. it will create a source then return this information to customer
"account_number" => "test_29a0b10c8351"
"routing_number" => "110000000"
isn't it?
sure
in step 2. have this sentence "In addition, specify an amount that you need the customer to send"... this is just an information provider to customer by text or i need to submit to here
"receiver": {
"address": "121042882-38381234567890123",
"amount_received": 0,
"amount_charged": 0,
"amount_returned": 0,
"refund_attributes_status": "missing",
"refund_attributes_method": "email"
},
?
it means tell the user in your page how much they should send
which is the amount you created the Source for
again, you need to understand how this payment method works(you show a page to the user saying"please send $100 to this bank account to pay for your order") and make sure you didn't actually want ACH Debit instead
understand. after customer deposit the money. stripe will send the response on webhooks. after that i make a charge for that transaction. isn't?
@wispy holly 👋 I'm stepping in for my colleague
would you mind giving me a minute to catch up?
thank you. will do
stripe will send the response on webhooks.
yes
after that i make a charge for that transaction. isn't?
no the charge will be already created and the transaction executed
Hi @tender harness thank you for the response. if that so. i create a flow like this
- when customer insert their email. on my controller already create these functions :
- Create source object
- Attach source to a customer
- Charge Request.
-
i return to customer these information
"account_number" => "test_29a0b10c8351"
"routing_number" => "110000000"
and also the amount -
after customer deposit the money. if the money match with the charge... stripe will send the info on webhook to my site.. isn't?
yes correct
understand. thank you very much for the this.
ah sorry. if i integrate with stripe element. do i need to modify the controllers following this?
i already integrate the stripe element from this documentation https://stripe.com/docs/payments/quickstart
this is the result
but i still not change the code on file create.php
I don't follow the question
you were asking about ACH Credit, what you're looking at here is ACH Debit https://stripe.com/docs/payments/ach-debit
ah sorry i send a wrong link
i start again..
does ACH credit transfer payment can build with stripe payment element?
https://stripe.com/docs/payments/payment-element
need to implement ACH Credit.. ahh. so stripe element can't ah?
yes that's what my colleague tried to explain earlier is that you need to create your own flow to show the customer what Bank Account to use and what's the amount they need to transfer
understand
ah sorry.
sorry i have a few question about ACH Cradit
from this doc https://stripe.com/docs/sources/ach-credit-transfer
". You can instruct your customer to send any amount, and it can be made up of multiple transfers.......For example, if you request your customer to send 100 USD, they can send the full amount in a single transfer or multiple transfers of smaller amounts (for example, four transfers of 25 USD). In the case of recurring payments, your customer could create a recurring transfer with their bank for a specified amount, ensuring that the source always has the correct amount of funds for you to create the necessary charge requests"
if i charge only 100 USD.. but customer multiple transfer above 100 USD..
is that posible?
I'm not sure to be honest, but I think the extra amount will probably go to the customer's balance