#Mint-prb

1 messages · Page 1 of 1 (latest)

safe rune
#

can you link to the exact docs you're using?

shadow rampart
#

This one

#

I'm working with React

safe rune
#

like it says, the variable you pass should be like this

const pr = stripe.paymentRequest({
        country: 'US',
        currency: 'usd',
        total: {
          label: 'Demo total',
          amount: 1099,
        },
        requestPayerName: true,
        requestPayerEmail: true,
      });
....
....
PaymentRequestButtonElement options={{pr}}/
#

got this object paymentRequest = { applePay : true , googlePay: false
that's the response from canMakePayment, which is not what you pass to the component.

shadow rampart
#

Oh my god. My mistake