Google Pay API for Web quiz

  1. Which information is NOT included in the response to a payment request?

  2. What is the purpose of the createButton() JavaScript method in the Google Pay API for web integration?

  3. What is the primary benefit of enabling "Card Info" in the Google Pay button on a website?

  4. Which of the following is not a configurable option of new PaymentsClient(paymentOptions)?

  5. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    We recommend that you set Google Pay as the default payment method when the ___ method returns true. This reduces the number of clicks it takes for the customer to get through checkout because the payment and shipping information automatically default to the customer's saved payment method.

  6. What are the recommended placements for the Google Pay button?

    Choose as many answers as you see fit.

  7. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    The ___ callback method is invoked when a consumer clicks the Google Pay button.

  8. In order to use the Google Pay API in a production environment, you must register your website with Google. Where do you register your website and receive a merchant ID?

  9. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    The ___ callback method is invoked when shipping address or shipping options is changed in the payment sheet.

  10. What is the primary purpose of using test cards in the Google Pay API test environment?