#coder99

1 messages · Page 1 of 1 (latest)

lusty steppeBOT
frosty hull
#

Hello, happy to take a look. Can you show me your code where you are passing external_paysafecard?

empty shadow
frosty hull
#

Ah, that is different from where our doc shows that you should pass the call

#

It shows setting it on the frontend

    clientSecret: clientSecret,
    externalPaymentMethodTypes: ['external_divido']
  });```
#

PaymentIntents don't have a concept of external payment methods, so I believe that error is expected

empty shadow
#

is there an example in c# ?

frosty hull
#

The frontent is javascript

#

This is separate from the C# component

empty shadow
# frosty hull The frontent is javascript

yes, i know that.
my point is if there is any code in c# where this integration of external payments as example ? also can external payments be done with session ?

lusty steppeBOT
frosty hull
#

Is there a specific part of that doc that you see that involves the backend?

#

Reading through that doc, I only see frontend code. As far as I know, PaymentIntents and all of our server APIs do not support external payment methods

#

External payment methods, as far as I am aware, are a way to provide a link on your frontend of where to direct your users if they want to pay with that payment method

empty shadow
#

exactly, how can i provide the link in order to make my front end render the check out page.
but i am one step behind that

#

wait wait, i am getting it

#

i have to follow this guide, https://stripe.com/docs/payments/quickstart

setup the back end as described, setup the front end as described and then add this
elements = stripe.elements({
clientSecret: clientSecret,
externalPaymentMethodTypes: ['external_divido']
});
to the front end in order to preview the paysafe card option on my check out ? is that correct ?

#

currenty, we have an integration via sessions and customer selectes a predefined product and then gets a link to pay for that spesific product and its price, in order to create subscription. the payment is happening via sessions as i mentioned and i get webhook event when it's finished

#

that's is why i was asking about a backend implementation and a possible session implementation

#

is there any way of doing it this way ?

#

i use this class btw, SessionCreateOptions()

frosty hull
#

Not with external payment methods, those payment methods don't update the Stripe subscription object, so we don't have anything to send you a webhook event about.

#

Good question, looking in to it. I don't think Checkout supports external payment methods but am double checking

empty shadow
#

i only need to be able to send a paysafe number and be sure that that payment passed through

frosty hull
#

Unfortunately it looks like Checkout does not support external payment methods

#

We only offer it on custom elements pages and our mobile SDKs