Community discussions

MikroTik App
 
runbound
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Fri Apr 19, 2013 9:28 am

how to send getpaid link by sms?

Sun Jun 12, 2022 3:11 pm

can anyone help me how to send this link to text message
this is api for payment

<a data-amount="100" data-fee="0" data-expiry="6" data-description="Payment for services rendered" data-href="https://getpaid.gcash.com/paynow"
data-public-key="pk_234523452345234"
onclick="this.href = this.getAttribute('data-href')+'?public_key='+this.getAttribute('data-public-key')+'&amp;amount='+this.getAttribute('data-amount')+'&amp;fee='+this.getAttribute('data-fee')+'&amp;expiry='+this.getAttribute('data-expiry')+'&amp;description='+this.getAttribute('data-description');"
href="https://getpaid.gcash.com/paynow?public ... on=Payment for services rendered"
target="_blank" class="x-getpaid-button"><img src="https://getpaid.gcash.com/assets/img/paynow.png"></a>

/tool sms send phone="24523452" message="https://getpaid.gcash.com/paynow"
Last edited by runbound on Mon Jun 13, 2022 1:49 am, edited 1 time in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: sms api

Sun Jun 12, 2022 3:59 pm

Probably:
/tool sms send phone="2435234523452" \
    message="https://getpaid.gcash.com/paynow\3Fpublic_key=pk_wegwbergbwergbwergbwerg&amount=100&fee=0&expiry=6&description=Payment"
 
runbound
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Fri Apr 19, 2013 9:28 am

Re: how to send getpaid link by sms?

Mon Jun 13, 2022 1:52 am

thank you sir rextended it help me a lot.
is it possible to hide the public key


and sir can i request to change the posted publickey into anything number. thats the original key that i posted.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: how to send getpaid link by sms?

Mon Jun 13, 2022 2:09 am

make more attention on what you publish, if the data is random for examples or real codes.....
 
runbound
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Fri Apr 19, 2013 9:28 am

Re: how to send getpaid link by sms?

Mon Jun 13, 2022 2:18 am

thank you sir.
can i ask sir if possible to hide the public key in sms
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: how to send getpaid link by sms?

Mon Jun 13, 2022 12:33 pm

not,or how is possible to call correct link?

but about the key, is PUBLIC key, I do not think the key is maded for be hided....

Who is online

Users browsing this forum: ko00000000001 and 24 guests