Answer the question
In order to leave comments, you need to log in
How to activate the Freekassa checkout?
I don't know who to contact, who to write to. But I can’t understand anything ... I made a blank for Freekassa
@dp.message_handler(text="1", state="*")
async def show_search(message: types.Message, state: FSMContext):
await state.finish()
merchant_id = b'14248';
secret_word = b'l,CFea64Trja}K';
order_id = b'154';
order_amount = b'100.11';
sign = merchant_id + b':' + order_amount + b':' + secret_word + b':' + order_id;
h = hashlib.md5();
h.update(sign)
print(h.hexdigest())
print(f'https://www.free-kassa.ru/merchant/cash.php?m=14248&oa=100&o=154&s={h.hexdigest()}')
@dp.message_handler(text="2", state="*")
async def show_search(message: types.Message, state: FSMContext):
shopId = b'12412;
api = b'safafasfas4a1safasf';
sign = shopId + b'|' + api;
h = hashlib.sha256();
h.update(sign)
print(f'https://api.freekassa.ru/v1/{h.hexdigest()}')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question