#deusnominus_error

1 messages ¡ Page 1 of 1 (latest)

green monolithBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1318415472223326218

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

outer lava
#

Hello! Google Pay isn't a payment method type in itself, it's actually part of card

#

Are you using the Payment Element? If so, I'll recommend trying to initialize the Payment Element and see if Google Pay shows. If it doesn't, share your test site, test login credentials (if required) and how to navigate to the payment page, and we'll take a look

feral kestrel
#

Thank you for replying! I removed the 'google_pay' in " $paymentIntent = PaymentIntent::create([
'amount' => $amount, // Amount in the smallest unit of currency (e.g., cents for USD)
'currency' => $currency, // Currency code (e.g., "usd")
'payment_method_types' => ['card'], // Accept Google Pay as a payment method
]);

    $stripeGooglePayPaymentResponse = new StripeGooglePayPaymentResponse(
    
        $paymentIntent->client_secret
        
    );
    $stripeGooglePayPaymentResponseObject= $stripeGooglePayPaymentResponse->returnStripeGooglePayPaymentResponse();
    
    // Send the response back with the client_secret
    sendResponse(200, true, "Operation successful!", false, $stripeGooglePayPaymentResponseObject);
    " and I returned the " $paymentIntent->client_secret" to my front end and a window appeared from google pay with visa and master cards test cards (#4242 4242 4242 4242) and I completed the payment. Everything works fine. Thank you very much for your help! Just one last question. Did the stripe sdk for android automatically detected that my account was in a test environment and automatically proposed test card numbers? I couldn't see the number from my real visa card that i use in my google wallet app so I was wondering "If I finish activating my stripe account so that I can receive real payments will I see my real approved credit card number from my google wallet account in the stripe google pay window?
outer lava
#

Did the stripe sdk for android automatically detected that my account was in a test environment and automatically proposed test card numbers?

Yep.

If I finish activating my stripe account so that I can receive real payments will I see my real approved credit card number from my google wallet account in the stripe google pay window?

This is more related to whether you're using the test / live mode API keys. If you're using the livemode API keys then the test card numbers will not show.