#shaharyarilyas

1 messages · Page 1 of 1 (latest)

signal bladeBOT
#

Hello shaharyarilyas, 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.
https://discord.com/channels/841573134531821608/1162507150355079219, 5 days ago, 6 messages
https://discord.com/channels/841573134531821608/1162012813921890416, 6 days ago, 31 messages

ember jacinth
upper jewel
#

could i change my application_fee_amount in payment_intent if card type is

American Express
Corporate/business
Pre-paid debit
International

ember jacinth
upper jewel
#

i'm a developer i do this through api

ember jacinth
#

I understand, but certain features need to be enabled by Stripe for you to use them. Like access to card details.

upper jewel
#

Below is the old guideline provided by one of your developer in dev-help

If you look at the Android snippets at the link above, you can see where the payment method is inspected:*

    val pm = paymentIntent.paymentMethod
    val card = pm?.cardPresentDetails ?: pm?.interacPresentDetails

    // Placeholder for business logic on card before confirming paymentIntent
  }```
*In your react native integration, have you checked paymentIntent.paymentMethod after get the paymentIntent from collectPaymentMethod?
const { paymentIntent, error } = await collectPaymentMethod(paymentIntentId);
If the details are available, that's where they'd be*
#

i had checked this but paymentIntent.paymentMethod key is not present in collectPaymentMethod(paymentIntentId)

lapis furnace
#

👋 catching up here

#

Are you trying to process terminal (in-person) payments or online payments?

upper jewel
#

i want to charge additional application_fee_amount if customer card is pre-paid or Amex, prepaid cards etc

upper jewel
#

I'm using react native

lapis furnace
#

Hmm I don't think React Native SDK has this feature yet, let me look

upper jewel