#vikram-paymentrequest-help

1 messages · Page 1 of 1 (latest)

regal saffron
#

@white hare hello, can you clarify what you mean?

white hare
#

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

regal saffron
#

looking

#

The React Native SDK does not support the Payment Request Button. That button is for web-based integrations, which is not relevant here

honest talon
#

apiVersion: '2020-08-27',
this is version we are using

regal saffron
#

the API version is not relevant

honest talon
#

we are trying to crate object at backend

honest talon
regal saffron
#

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

honest talon
#

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 ??

regal saffron
#

what is the "fee adjustment" is it the application fee as a platform?

honest talon
#

yup

regal saffron
#

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

honest talon
#

I guess, it does not include apple pay

#

it is payment by card

#

any other way by which we can implement ??

regal saffron
#

Apple Pay works fine with this method, it's the same as card, no difference

honest talon
#

how will I get payment_method_id when customer will pay by apple pay ??

regal saffron
#

you don't need any of this, you just confirm the PaymentIntent and then you look at the Charge's payment_method_details

honest talon
#

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 ??

opal meadow
#

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?

regal saffron
#

No you can't increase the amount, you said you wanted to change the application fee earlier

white hare
#

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

regal saffron
#

Sure but we discussed this earlier, you mentioned changing the application fee not the PaymentIntent amount

white hare
#

let me go through it

regal saffron
#

mostly all I need to know is if you change the PaymentIntent amount or not

white hare
#

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

regal saffron
#

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