|
|
@ -523,7 +523,10 @@ class Transactions(util.Base):
|
|
|
|
def send_verification_url(self, platform, uid, trade_id):
|
|
|
|
def send_verification_url(self, platform, uid, trade_id):
|
|
|
|
send_setting, post_message = self.get_send_settings(platform)
|
|
|
|
send_setting, post_message = self.get_send_settings(platform)
|
|
|
|
if send_setting == "1":
|
|
|
|
if send_setting == "1":
|
|
|
|
|
|
|
|
print("SEND SETTING IS 1", platform, uid, trade_id)
|
|
|
|
auth_url = self.ux.verify.create_applicant_and_get_link(uid)
|
|
|
|
auth_url = self.ux.verify.create_applicant_and_get_link(uid)
|
|
|
|
|
|
|
|
if platform == "lbtc":
|
|
|
|
|
|
|
|
auth_url = auth_url.replace("https://", "") # hack
|
|
|
|
post_message(
|
|
|
|
post_message(
|
|
|
|
trade_id,
|
|
|
|
trade_id,
|
|
|
|
f"Hi! To continue the trade, please complete the verification form: {auth_url}",
|
|
|
|
f"Hi! To continue the trade, please complete the verification form: {auth_url}",
|
|
|
|