#kadirbayar
1 messages · Page 1 of 1 (latest)
Hi there, do you have the PaymentIntent ID?
I guess not. it is a telegram bot. im creating an invoice, but not being charged. Api.SendInvoiceAsync(user.Id, "Test", "Test", "paytesttest", api,
"USD", new[] { new LabeledPrice("Donation", amt * 100) }, startParameter: "startparam");
}
Did you write the code yourself? or you are using a 3rd-party plugin?
I wrote it myself
Ok, then you should log into Stripe Dashboard and check logs
The problem is that there is nothing in the logs
Can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details
I think im making a mistake in the installation
acct_1NpQjYCo7v9zm7WA
do i need to add the API key I got from Botfather to Stripe
No idea what that is, but unlikely not the issue
Can't see any logs on this account indicative of an Invoice creation call
I think there is a bug in my codes.
but interesting
should I add telegram api info to Stripe
I've no idea, but I doubt it. There's no concept of connecting third-party services with Stripe that way
Normally you'd connect your Stripe account to a service via OAuth or by providing them with your API key(s)
Could it be that payment is not accepted because I just created my account. Is there a waiting time?
Potentially, but hard to say as I can see no evidence of API calls on the account you shared
Okay, im going to experiment a little more. thank you