#FasterThanFlash-acss

1 messages ยท Page 1 of 1 (latest)

supple tusk
#

I can try, what's the question exactly?

queen berry
#

Hey @supple tusk . What are the params that I should use to create Payment method for ACSS? The same ones used for ACH PaymentIntent?

supple tusk
#

it's unfortunately more manual/different than ACH

queen berry
#

I've checked this guide. We are implementing the APIs and not using stripe js.

#

This guide does not provide details on what parameters should be passed.

supple tusk
#

yeah, because in general you should never be calling these APIs directly and should be using our documented frontends, so it's an advanced use case to do this directly.

queen berry
#

I'm developing a product which will be using Stripe APIs. Stripe users can use this product for plug and play automations. So this is the reason I need to implement APIs directly and not use the Stripe js. There are many scenarios which are not possible using the js

supple tusk
#

there's unfortunately no guide/document I can link you to

#

I see no reason why what you said requires you to not use stripe.js to be honest

#

I have to run, sorry, @floral talon will take over

queen berry
#

Okay. Np

#

Hey @floral talon ๐Ÿ™‚

floral talon
#

HI ๐Ÿ‘‹

queen berry
#

I'll ping you if I have more questions. I think I'm good for now.

floral talon
#

Sounds good ๐Ÿ‘

queen berry
#

Hey @floral talon - I'm unable to find test data for ACSS.

#

Can you provide some test data please

floral talon
queen berry
#

oops. I missed this

#

Apologies ๐Ÿ™‚

floral talon
#

No worries!

queen berry
#

Hey @floral talon - please review this request. req_76EVr7MXR8frJ6

#

I'm getting missing param request. I don't see this param in documentation

#

Please disregard. I found it

#

@floral talon - I was able to make a successful transaction. req_mRrUzdXLIAtEI8

Status says - requires confirmation. Who is going to confirm and how? Do we need to implement webhooks for the response? Is there any way to have successful response for test?

#

We do not want to verify using micro deposits or anything

floral talon
#

requires_confirmation is the second state that a payment intent goes into, though normally most of our flows kind of skip it:
https://stripe.com/docs/payments/intents

I've not personally worked with ACSS, so I don't know if you can successfully do server-side confirmation for those or if you'll need to use Stripe JS:
https://stripe.com/docs/api/payment_intents/confirm

Learn about the status and lifecycle of PaymentIntents and SetupIntents.

queen berry
#

We can not use stripe js. We need to process scheduled transactions as well.

#

In which case does the transaction goes to requires_confirmation state?

#

Maybe i used some param that led to this state?

#

Possible for you to check the request? Please ๐Ÿ™‚

floral talon
#

You created a Payment Intent and provided it with a Payment Method, so as mentioned in the "How intents work" doc, the next state that the intent transitions to is requires_confirmation. At that point you need to confirm the intent.

queen berry
#

Let me check again ๐Ÿ˜ข

#

@floral talon Check this please - req_Vo3RIHO9HcxSf2

#

A mandate is required. Please either provide the id of an existing mandate on confirmation, or provide payment_method_options[acss_debit][mandate_options]

supple tusk
#

as it says, you need to pass details of mandate acceptance to the parameter it mentions

queen berry
#

Hey @supple tusk - Do i need to pass mandate options in confirm call as well?

supple tusk
#

you pass it when confirming the PaymentIntent

#

confirming the PaymentIntent is what processes the payment

#

you can confirm the PI by either passing confirm:true when creating the PaymentIntent(if you can provide all the information on the payment method upfront in that same request), or by calling the /v1/payment_intents/pi_xxx/confirm endpoint linked above

queen berry
#

BINGO

#

Confirm = true

#

that's what I was missing

#

thanks ๐Ÿ˜ข

#

I tried with confirm = true. Earlier payment intent was returning requires_confirmation. But now its returning me the same error - A mandate is required. I've already provided the mandate details in the request body

#

req_SXERNA0ciPBKXv

supple tusk
queen berry
#

Let me try

supple tusk
#

not really sure, I've never used this and nobody really integrates this way

#

but yeah, you need mandate_data, since mandate_options is just context on what type of mandate the customer accepted, you need mandate_data to indicate that the customer actually accepted it, by supplying their IP address/timestamp

queen berry
#

Understood.

#

I'll try few things tomorrow and let you know. ๐Ÿ™‚

#

Thanks for the help

#

Really appreciated

supple tusk
#

can you explain again why you can't use stripe.js? Lots of people write plugins and platforms and use our frontends.

queen berry
#

We are not integrating stripe on frontend.

#

We store the data, then charge customer based on rules that are triggered by events

supple tusk
#

why not though? you do have a frontend, since you need to collect payment information from the end-customer. Why not use Stripe there? If you're accepting cards in that frontend and not using Stripe, then you need to be PCI compliant as well and file a SAQ D, are you prepared for that?

queen berry
#

For ex - charge the downpayment when document is signed.

supple tusk
queen berry
#

PCI compliant is handled

#

So you guys support timely and scheduled payments?

#

Please provide some documentation, I'll try to rearchitect the whole application if possible.

#

Or maybe in next phase

supple tusk
# queen berry So you guys support timely and scheduled payments?

yes , in multiple ways.

For example we're talking about ACSS.
You'd use our frontends to collect the bank details of the end customer and save them without charging them today : https://stripe.com/docs/payments/acss-debit/set-up-payment

then you charge them later by creating a PaymentIntent on the backend server at a later time : https://stripe.com/docs/payments/acss-debit/set-up-payment?platform=web#reusing-a-payment-method-with-an-existing-authorized-mandate

queen berry
#

Perfect.

supple tusk
#

same works for cards, and we have APIs for recurring subscription payments and other things

queen berry
#

I'll check tomorrow for sure ๐Ÿ™‚