Konfiguracja
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Interfejs Google Pay API umożliwia szybkie i łatwe zakupy w internecie. Po jego skonfigurowaniu klienci nie muszą za każdym razem ręcznie wpisywać w witrynie danych potrzebnych do płatności. Zamiast tego informacje o płatności, takie jak imię i nazwisko, adres e-mail, adres rozliczeniowy i adres dostawy, są już wypełnione w oknie wyboru płatności, które wyświetla się kupującemu. Gdy kupujący wybiera formę płatności, interfejs API zwraca informacje o płatności za pomocą obsługiwanej bramy płatności lub są one przetwarzane bezpośrednio na Twoim zaszyfrowanym bezpiecznym serwerze.
Dzięki integracji z Google Pay API możesz umożliwić nawet setkom milionów użytkowników Google płacenie jednym kliknięciem przy użyciu dowolnej karty kredytowej lub debetowej zapisanej na koncie Google klienta.
Zanim zaczniesz
Zanim zaczniesz wdrażać interfejs API, sprawdź, czy spełniasz te wymagania wstępne:
Zgłaszanie prośby o dostęp produkcyjny
Zanim Twoja implementacja Google Pay API będzie gotowa do wykorzystania w produkcji, musisz zarejestrować ją w Google, zaakceptować Warunki korzystania z usługi i otrzymać od Google identyfikator sprzedawcy – dostaniesz go dopiero wtedy, gdy Google sprawdzi Twoją witrynę. Więcej informacji znajdziesz na liście kontrolnej integracji.
By zgłosić prośbę o dostęp produkcyjny, musisz mieć:
Po zatwierdzeniu Twojej witryny otrzymasz identyfikator sprzedawcy Google, który musi być dołączany do każdego żądania do interfejsu Google Pay API.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-10-16 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-10-16 UTC."],[[["\u003cp\u003eThe Google Pay API enables a quick and seamless online checkout experience by allowing customers to use pre-filled payment information from their Google accounts.\u003c/p\u003e\n"],["\u003cp\u003eIntegrating the Google Pay API gives you access to a vast user base of millions who already have payment methods stored with Google.\u003c/p\u003e\n"],["\u003cp\u003eBefore implementing the API, ensure your website uses HTTPS, is accessed through a supported browser, and that you have a Google account with an added payment method, while also adhering to the Google Pay API Acceptable Use Policy.\u003c/p\u003e\n"]]],["The Google Pay API allows users to make online purchases without manually entering payment details. It displays a pre-filled payment dialog with information like name, email, and addresses, which is then processed through a payment gateway or directly on the secure server. Integration offers one-touch checkout to Google users with saved payment methods. To implement, you need an HTTPS site, a supported browser, a Google Pay payment method, and adherence to the API's policy. Publishing requires checking additional information.\n"],null,["# Setup\n\nThe Google Pay API facilitates fast and easy online purchases. With the API set up, shoppers\ndon't have to manually enter their payment information on your site. Instead, their payment\ninformation, such as their name, email, billing and shipping addresses, are already\npre-entered in a payments selection dialog that's displayed to the shopper. When the shopper\nselects their payment type, the API returns the payment information through a supported payments\ngateway, or it's directly processed on your encrypted secure server.\n\nWhen you integrate with the Google Pay API, you offer a one-touch checkout experience to hundreds\nof millions of Google users who have their credit or debit card payment information saved in\ntheir Google accounts.\n\nBefore you begin\n----------------\n\nBefore you begin to implement the API, make sure you've met the following\nprerequisites:\n\n- Serve an HTTPS webpage with a TLS domain-validated certificate.\n- Use one of the following supported web browsers: Google Chrome, Mozilla Firefox, Apple Safari, Microsoft Edge, Opera, or UCWeb UC Browser.\n- [Add a payment method to your Google Account](https://support.google.com/pay/answer/7625139).\n- Adhere to our [Google Pay API Acceptable Use Policy](https://payments.developers.google.com/terms/aup).\n\nWhen you're ready to go live, refer to [Publish your integration](/pay/api/web/guides/test-and-deploy/publish-your-integration) for important information."]]