Skip to content

Commit

Permalink
feat: rework donations [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed May 27, 2024
1 parent fbc2c32 commit 385b4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/donation.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func DonationHandler(ctx telebot.Context) (err error) {
}

func DonationMessage(ctx telebot.Context, msgTxt string) (msg *telebot.Message, err error) {
customerId := "tg___user_id=" + strconv.FormatInt(ctx.Sender().ID, 10) + "%40awakari.com"
customerId := "tg___user_id_" + strconv.FormatInt(ctx.Sender().ID, 10) + "%40awakari.com"
link := "https://donate.stripe.com/14k7uCaYq5befN65kk?prefilled_email=" + customerId
msg, err = ctx.Bot().Send(ctx.Chat(), msgTxt, &telebot.ReplyMarkup{
InlineKeyboard: [][]telebot.InlineButton{
Expand Down

0 comments on commit 385b4f1

Please sign in to comment.