Commit graph

30 commits

Author SHA1 Message Date
Kukks
36bd76248b Allow Pay Button to work on Apps
This PR allows you to use the pay button generator to create buttons that target apps. This means that you can generate an invoice that is linked to an item on the POS/Crowdfund (targeting the item is optional). The POS/Crowdfund item amount -> invoice creation amount validation works too so that the user cannot modify the amount of a perk using just html ( fixes #1392 )
2020-03-24 23:43:47 -05:00
Kukks
c3bfce7656 Modal option for Pay Button
closes #796
2020-02-28 16:01:44 +01:00
Andrew Camilleri
1d61db4758
Add text customization for pay button (#1346)
* Add text customization for pay button

https://i.imgur.com/nFxscOZ.gifv

* pr changes
2020-02-24 21:29:29 +09:00
Jameson Lopp
4f046ed1d3
add spelling / grammar fixes and some clarifications for settings. 2019-12-26 07:32:32 -05:00
Nicolas Dorier
6828730313
Merge pull request #1162 from dennisreimann/theme-fixes
Theme fixes
2019-11-16 12:36:50 +09:00
Dennis Reimann
3bca3427eb
Consistent use of page title on Pay Button page 2019-11-15 14:44:08 +01:00
Dennis Reimann
584528f903
Improve pay button display on dark background 2019-11-15 11:08:10 +01:00
Nicolas Dorier
72d7e2dc5b
Merge pull request #1116 from bolatovumar/issue-1111
Improve pay button display options section
2019-11-04 12:04:14 +09:00
Umar Bolatov
6b587bfc31
Improve pay button display options section
address #1111
2019-11-03 09:53:09 -08:00
Dennis Reimann
7eae1f3b3c
More pay button improvements 2019-10-31 11:31:30 +01:00
Dennis Reimann
3b1f851f8a
Improve pay button display
These changes should provide a more solid CSS approach to display the pay button in different scenarios. Also it fixes minor functionality issues like preselecting the merchant-chosen currency in the custom amount and slider dropdown.
2019-10-29 21:08:08 +01:00
Dennis Reimann
345ce6ba5a
Fix typo on Pay Button page
Signed-off-by: Dennis Reimann <mail@dennisreimann.de>
2019-09-07 08:32:01 +02:00
Nicolas Dorier
be5597085b
Use Safe.Raw and Safe.Json instead of Html.Raw and the JsonHelper, move sanitization at the View level (#960) 2019-08-10 14:05:11 +09:00
Andrew Camilleri
89a7166c1b More options to Custom Amount Pay button (#948)
* Start adding more options to Custom Amount Pay button

This allows you to simplify the custom amount pay button to remove the big + & - buttons along with set a min, max and step amounts. There's also an option to fit the button next to the input amount to have it more condensed(not finished)

* make fit button inline work nicely

* make currency dropdown more obvious

* fix space
2019-07-31 22:58:04 +09:00
Kukks
11670d0c0f make checkout param more generic and add it to pay button generator 2019-06-25 21:01:37 +02:00
Ludovic
0bf73abb39 Fix Custom amount under 0 in Pay button 2019-04-06 15:22:09 +02:00
Ludovic
7e0211924d Replace inline js by templates in pay button 2019-04-06 15:02:02 +02:00
Ludovic
a8a857a7ce Move Slider settings below radio buttons 2019-04-06 13:47:22 +02:00
Ludovic
bc97c07670 Add currency select in Pay Button 2019-04-04 21:32:16 +02:00
Ludovic
449066449b Add a new Pay Button Type : Slider 2019-04-04 20:56:12 +02:00
Ludovic
184c797b0e Add a new Pay Button Type : Custom amount 2019-04-03 21:43:53 +02:00
britttttk
1e26926350 Fix payment button size 2018-12-30 00:27:22 -07:00
nicolas.dorier
fed53661b3 Add btcpay.store.cancreateinvoice claim, and use that for the store 2018-09-08 14:53:41 +09:00
rockstardev
c5cb32f6dd Providing option to disable Pay Button at later date 2018-09-08 14:53:41 +09:00
rockstardev
deb56e16ec Confirmation page for enabling Pay Button 2018-09-08 14:53:41 +09:00
nicolas.dorier
013dfa1b61 Properly escape attributes, make the preview an actual form rather than an image 2018-08-23 11:55:29 +09:00
nicolas.dorier
e0f1c50534 Making Currency a textbox instead of dropdown 2018-08-23 11:17:54 +09:00
nicolas.dorier
d50dc2e68e ServerIPN is an email 2018-08-23 11:12:25 +09:00
rockstardev
2b6faa8d20 Migrating generator to work on store path 2018-08-22 14:05:12 +02:00
rockstardev
5a43ce2719 Transfering Pay Button from App directly to Store 2018-08-22 13:57:54 +02:00
Renamed from BTCPayServer/Views/Apps/ViewPayButton.cshtml (Browse further)