#vikram-paymentrequest-help
1 messages · Page 1 of 1 (latest)
from an earlier thread, i was told to create paymentRequest for getting payment method from a call back, attaching screenshot for reference
am implementing this in react native
looking
The React Native SDK does not support the Payment Request Button. That button is for web-based integrations, which is not relevant here
apiVersion: '2020-08-27',
this is version we are using
the API version is not relevant
we are trying to crate object at backend
which version we should be using ??
it's unrelated to the version in any way, so it's not the right question
I don't think our React Native SDK supports creating a PaymentMethod upfront at all. But I'm digging into it
You likely have to use a legacy integration where you just collect a Token tok_123 yourself via https://stripe.dev/stripe-ios/docs/Classes/STPAPIClient.html#/s:10StripeCore12STPAPIClientC0A0E11createToken4with10completionySo9PKPaymentC_yAD8STPTokenCSg_s5Error_pSgtctF but it's definitely more complex
It may be break our existing code
Do you any other suggestion how can we implement apple pay with the fee adjustment on the basis of card used while paying ??
what is the "fee adjustment" is it the application fee as a platform?
yup
Then you could use authorization and capture instead!
you can capture the PaymentIntent afterwards and choose the Application Fee you want based on the card details, way easier
I guess, it does not include apple pay
it is payment by card
any other way by which we can implement ??
Apple Pay works fine with this method, it's the same as card, no difference
how will I get payment_method_id when customer will pay by apple pay ??
you don't need any of this, you just confirm the PaymentIntent and then you look at the Charge's payment_method_details
okay
can I increase the amount when I will capture payment Intent ??
how can I get the country of card used in apple pay so that i can adjust platform fee accordingly ??
Hi @honest talon I"m stepping in. When you say
can I increase the amount when I will capture payment Intent
what do you mean?
No you can't increase the amount, you said you wanted to change the application fee earlier
regarding the card charges according to different countries that can either "increase or decrease"
their's a card fee associated with payments via stripe which according to region is charged differently, in our case we want to capture that data via backend hence the confusion
Sure but we discussed this earlier, you mentioned changing the application fee not the PaymentIntent amount
let me go through it
mostly all I need to know is if you change the PaymentIntent amount or not
we are presenting a receipt of sorts which cover all the expenses and provides the final amount
payment intent amount needs to be processed according to country card charges in before, so yes in a way we need to decide that before providing a final paymentIntent amount
then your flow is just not possible, we're back to what I was saying earlier
that's not a flow we support today in our SDK
https://stripe.dev/stripe-ios/docs/Classes/STPAPIClient.html#/s:10StripeCore12STPAPIClientC0A0E11createToken4with10completionySo9PKPaymentC_yAD8STPTokenCSg_s5Error_pSgtctF the only path forward is this and/or integrating Apple Pay directly to get a Token