#mahraamir
1 messages · Page 1 of 1 (latest)
hi! not sure I follow, can you explain in more detail/examples?
well sure
we have paymemt page where we have different payment methods based on customer selected payment methods, like if they are using Card with stripe gateway and they can have ACH with some other gateway and so on
so our requirement is if customer has stripe gateway and wants to use ACH then we should offer him Stripe Financial Connection while for other integratations we are offering Plaid
so if our customer has Stripe gateway and wants to take payments from his customer via ACH then if their customer click on ACH Debit we should open Stripe Financial connection element
cool. Then you'd just follow https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API .
well I am using almost this thing
see if I click on ACH Debit I am showing SF options in test mode
SF?
Stripe Financial 🙂
it's not called that, but ok.
and "this thing" == the PaymentElement component, right?
Not sure I follow what the problem is.
if you want to integrate ACH and Financial Connections without the PaymentElement, you can
that's what the guide linked above does; the UI would just be a button the customer clicks and then you call stripe.collectBankAccountForPayment , which will present the UI for ACH modally.
because I am loading all js for the elment on click event
the event.PreventDefault() function acatually not disabling the existing form
instead calling element confirmPayment, my other form is submitted.
ok. Well that seems like a very specific question about existing code so not sure I can answer without for example seeing the code and a page that replicates the problem that we can test with.
function loadStripeFinancialConnection(){
$('.preloaderRR').show();
var data = "function=setupPaymentIntent&"+$("#paymentform").serialize();
$.ajax({ url: "/ajaxFunctions.php",
context: document.body,
type:"POST",
data:data,
dataType: "json",
success: function(sfc_json){
loadStripeFinancialElement(sfc_json);
document.getElementById('paymentform').disabled = true;
$('#sfc_element').show();
$('.preloaderRR').hide();
}
});//end ajax*/
}
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
I re-read the whole thread multiple times and I don't understand what you're trying to do, sorry. What's the problem with just using Stripe Payment Element and PaymentIntents?
Sorry vanya I will contact you again, I am called for some live issues in the system.