#ferdinand-ach-ct

1 messages · Page 1 of 1 (latest)

pallid geode
#

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.

wispy holly
#

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?

pallid geode
#

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.

wispy holly
#

on my understanding. if i can convert step 1 to my flow. will like this :

  1. i will create form that only have field email. so customer will insert their email and submit

  2. on my controller. it will create a source then return this information to customer

    "account_number" => "test_29a0b10c8351"
    "routing_number" => "110000000"

isn't it?

pallid geode
#

sure

wispy holly
#

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"
},

?

pallid geode
#

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

wispy holly
#

understand. after customer deposit the money. stripe will send the response on webhooks. after that i make a charge for that transaction. isn't?

tender harness
#

@wispy holly 👋 I'm stepping in for my colleague

#

would you mind giving me a minute to catch up?

wispy holly
#

thank you. will do

tender harness
#

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

wispy holly
#

Hi @tender harness thank you for the response. if that so. i create a flow like this

  1. when customer insert their email. on my controller already create these functions :
  • Create source object
  • Attach source to a customer
  • Charge Request.
  1. i return to customer these information
    "account_number" => "test_29a0b10c8351"
    "routing_number" => "110000000"
    and also the amount

  2. after customer deposit the money. if the money match with the charge... stripe will send the info on webhook to my site.. isn't?

tender harness
#

yes correct

wispy holly
#

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?

#

this is the result

#

but i still not change the code on file create.php

tender harness
#

I don't follow the question

wispy holly
#

ah sorry i send a wrong link

#

i start again..

tender harness
#

no

#

do you need to implement ACH Credit or ACH Debit?

wispy holly
#

need to implement ACH Credit.. ahh. so stripe element can't ah?

tender harness
#

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

wispy holly
#

understand

#

ah sorry.

#

sorry i have a few question about ACH Cradit

#

". 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?

tender harness
#

I'm not sure to be honest, but I think the extra amount will probably go to the customer's balance

wispy holly
#

understand.

#

thank you @tender harness for your help