This document assumes that:
pre_checkout_query
To test your payment integration with GlobalPay:
provider_token
from BotFather. See Appendix A for step-by-step instructions.sendInvoice
method and provider_token
that you got from step 1. As of v1.0.0 no other options are needed for provider, except provider token.Genuine card information cannot be used in test mode. Instead, use any of the following test cards and a valid expiration date to create a successful payment.
Number | Brand | Date | Phone number |
---|---|---|---|
8600 1404 0738 9072 | UzCard | 10/24 | 998*****6998 |
9860 0901 0131 2172 | Humo | 03/24 | 998*****3929 |
To verify the payment you must verify the SMS code, which will be sent to the Telegram channel.
After signing a contract with GlobalPay, you will be presented with a merchant token, which will be used for authorization purposes.
To get into authorization interface follow instructions on Appendix A and choose Connect GlobalPay Live in step 6. Afterwards, you will be given a button with an unique link to merchant authorization interface, where you should use your merchant token to authorize. In case of a successful authorization, you will be redirected back to BotFather, where you can get a provider_token
.
NOTE: test cards given above will not work on LIVE. So, you must use a real card.
currency
as UZS
in your invoiceprovider_token
/mybots
to get the list of available botsprovider_token
will be available on the main menu of Payments section (see step 4)