#tjon_best-practices

1 messages ¡ Page 1 of 1 (latest)

supple pawnBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1266052479804768309

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

visual iceBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

brave cloak
#

What type of connect accounts are you using?

#

You'd either want direct or destination charges based on the account type

plucky orbit
#

we are using the simplest ones

#

I'm not sure off the top of my head the exact name but whichever ones gave us the least control

#

standard I believe

brave cloak
#

Ok if standard, then direct charges is what you want

plucky orbit
#

so to confirm I could not run something like this for them?

StripeConfiguration.ApiKey = "sk_test";
var piservice = new PaymentIntentService();
var pioptions = new PaymentIntentCreateOptions
{
//amount must be a long so decimals need to be multiplied by 100
Amount = AMOUNT,
Currency = "usd",
AutomaticPaymentMethods = new PaymentIntentAutomaticPaymentMethodsOptions
{
Enabled = true,
AllowRedirects = "never"
},
Customer = Customer_ID,
PaymentMethod = Payment_ID,
Confirm = true,
OffSession = true,
};
var requestOptions = new RequestOptions
{
StripeAccount = "acct",
};
piservice.Create(pioptions, requestOptions);

brave cloak
#

That looks like a direct charge. Why do you say you could not do that?

plucky orbit
#

oh because I found a page saying direct charge and it used the charge api and thats what got me confused initially

#

well neverming

#

nevermind

brave cloak
plucky orbit
#

I went back to the search tool to find it and just noticed its sub category is older apis

brave cloak
#

Yeah above guide is up to date with payment intents

plucky orbit
#

thank you sorry for the confusion

brave cloak
#

No problem

#

Yeah that's just the older flow

plucky orbit
#

appreciate the help your team is great

#

love the support you have for devs