#zulqi.

1 messages · Page 1 of 1 (latest)

halcyon swiftBOT
#

Hello! We'll be with you shortly. 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.

  • zulqi., 3 minutes ago, 9 messages
static kraken
#

Hello, can you please send the ID of the payment intent that you are seeing this with? (pi_1234)
And can you tell me more about what the end goal is? What are you trying to get to show up on your page that is not currently showing up?

rough shoal
#

apolgizing for delay, its my first day with stripe and was strugglig to figure out PaymentIntent ID you asked for

here is the intent id:
pi_3Oe0jDBtLyUDk5Iy0Toat5Wo_secret_i31BbHKBabl6CcxKFcsbG5KgC

#

And can you tell me more about what the end goal is? What are you trying to get to show up on your page that is not currently showing up? -->

i have shared 2 screenshots, one of my browser what its showing for now and other one fromn youtube tutorial which is end goal, i have also shared details of youtube tutorial i am following

static kraken
#

That payment intent should respect what you have turned on on that page

rough shoal
#

i have activated cards, google pay, apple pay and klarna

static kraken
#

Thanks for checking, looking more at that specific intent

#

Ah it looks like this is mostly based on the currency and amount that you used

#

Trying to find specific info on these

#

It looks like you used an amount of .10 Euros but for most of our payment methods you need to charge at least the equivalent of $0.50 USD for them to show up

rough shoal
#

here is the code snippet from my program.cs file:

app.MapPost("create-payment-intent", async (HttpRequest req, PaymentIntentService service) =>
{
var options = new PaymentIntentCreateOptions
{
Amount = 10,
Currency = "eur",
AutomaticPaymentMethods = new()
{
Enabled = true
}
};
var paymentIntent = await service.CreateAsync(options);
return Results.Ok(new { clientSecret = paymentIntent.ClientSecret });

});

i used 10 not 0.10

static kraken
#

Our amounts are in cents

#

That doc has a bit more info on it

#

But 100 would be one Euro rather than one hundred

rough shoal
#

ah ok it worked now ❤️

so the Amount in program.cs file is minimum amount?

static kraken
#

When setting amount like this, it determines the exact amount that the PaymentIntent will charge

#

Are you looking to have an adjustable amount?

rough shoal
#

yes

#

i am working on a bootcamp project for learning purpose we are creating website to sell event-tickets where every event-ticket has different price and customer can add multiple tickets in cart

#

i have tried just to test funcinoality from browser and getting status incomplet for payment, have a look on screenshots:

static kraken
#

Gotcha, is the question still why certain payment methods did not show up?

rough shoal
#

no, payments methods issue is resoved but facing another issue now as you can see in screenshot payment status is incomplete and payment method is empty, i have one succeeded payment which i added manually from dashboard, all other payments i have tried from browser and there status is imcomplete

static kraken
#

Incomplete is the default status of the payment intent, so this may be expected behavior if you are doing something like creating an intent each time the page loads but not going through the full process to pay each time the page loads

#

If you try this again and go through the full payment on your frontend, does it still show up as incomplete in the dashboard? If so can you send me the ID of the incomplete payment?

rough shoal
#

here is the id for most recent payment i tried:

pi_3Oe1mdBtLyUDk5Iy3kBB0fAc

static kraken
#

I actually do not see a confirm request on that payment intent

#

Can you check to see if your browser is getting errors when you click pay?

#

Also it is possible that IDs are getting mixed up, it would be a good idea to print out the payment intent ID client side to make sure you are looking at the same one

rough shoal
#

i tried new payment, id is pi_3Oe1v6BtLyUDk5Iy2nGi06vk
getting code 200

static kraken
#

right, when an invoice is created it is expected to show up as incomplete in your dashoboard

#

You need to complete the payment by confirming it for it to not show as incomplete

#

Or you can cancel it

#

but by default intents will stay incomplete indefinitely