Bitcoin Forum
May 09, 2024, 06:37:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BTCpayserver Buyer Information form fields  (Read 138 times)
golddiggerprojects (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
August 15, 2020, 08:19:26 AM
Merited by OgNasty (1)
 #1

Hi everybody!

I've just installed the BTCpayserver om my VPS and started to accept BTC payments to my store. I do this via the BTCpayButton.
My question now: How do I use the "button <form>" to populate the Buyer information fields such as: Name, email, phone etc?

<input type='hidden' name='name' value='Scully' />
<input type='hidden' name='email' value='info@scully.com' />
<input type='hidden' name='phone' value='0123456789' />
Does not work...

Does anyone know how to achieve this?

Tx!
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715279868
Hero Member
*
Offline Offline

Posts: 1715279868

View Profile Personal Message (Offline)

Ignore
1715279868
Reply with quote  #2

1715279868
Report to moderator
1715279868
Hero Member
*
Offline Offline

Posts: 1715279868

View Profile Personal Message (Offline)

Ignore
1715279868
Reply with quote  #2

1715279868
Report to moderator
1715279868
Hero Member
*
Offline Offline

Posts: 1715279868

View Profile Personal Message (Offline)

Ignore
1715279868
Reply with quote  #2

1715279868
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
August 15, 2020, 10:24:57 PM
Merited by OgNasty (1)
 #2

You'd probably need to edit the backend code so that when a user clicks the button these hidden fields of yours are actually used/processed by the server code when creating the "invoice".

Also, this probably isn't the best place to be asking for help for BTCPayServer... you'd be better off using the BTCPayServer communities: https://btcpayserver.org/#communityCTA

I'd recommend trying the "MatterMost" chat or "Telegram" group.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
golddiggerprojects (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
August 16, 2020, 09:03:37 AM
 #3

TY. Will do.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!