M
M
Maxim Tarabrin2018-02-28 09:58:04
Flask
Maxim Tarabrin, 2018-02-28 09:58:04

How to tie webmoney to the site?

Tell me, where is there clear information on screwing Merchant Webmoney or an example of using the webmoney-api library? On Habré, I read an article about this library, tried to screw it up and make a test payment, but nothing came of it. How to work with the library is not clear.

import time
from webmoney_api import ApiInterface, WMLightAuthInterface

api = ApiInterface(WMLightAuthInterface("/home/tarabrin/crt.pem", "/home/tarabrin/key.pem"))

print(api.x8(purse="R328079907035", reqn=int(time.time()))["response"])

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question