Discover Packages
github.com/covrom/ypayfunc
command
module
Version:
v0.0.0-...-732b2f9
Opens a new window with list of versions in this module.
Published: Nov 3, 2020
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
ypayfunc
The Yoomoney (Yandex Money) payment notification function for Yandex cloud functions accepts incoming payments from a credit card or Yandex money and then sends an email notifying that payment. You can change this behavior to whatever you want.
Quick start:
See https://yandex.ru/dev/money/apps/?_openstat=settings;other;apps;api for basic instructions.
Create public Yandex cloud function here: https://console.cloud.yandex.ru
Create archive file: zip -r archive.zip *.go go.mod go.sum
Upload archive into Yandex cloud function and create new version with:
runtime golang114
entrypoint main.YaPay
memory 128m
execution-timeout 20s
Set environment vars:
Press testing button at https://yoomoney.ru/transfer/myservices/http-notification and see logs of function in Yandex cloud
Create and run html file, using testpay_example.html
template. Ensure to change your identity in receiver
field and fill sum
field
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.