mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed minor contribution bug
This commit is contained in:
parent
d9436a68a1
commit
f68cce04de
@ -9,7 +9,6 @@ class stripe_payment_link extends cora\crud {
|
||||
|
||||
public static $exposed = [
|
||||
'private' => [
|
||||
'get',
|
||||
'open'
|
||||
],
|
||||
'public' => []
|
||||
|
@ -251,7 +251,7 @@ beestat.component.card.contribute.prototype.decorate_contents_ = function(parent
|
||||
.set_background_hover_color()
|
||||
.removeEventListener('click');
|
||||
|
||||
window.open('https://dev.app.beestat.io/api/?resource=stripe_payment_link&method=open&arguments={"attributes":{"amount":' + (contribute_amount * 100) + ',"currency":"' + beestat.setting('units.currency') + '","interval":"' + contribute_interval + '"}}&api_key=' + beestat.api.api_key);
|
||||
window.open('api/?resource=stripe_payment_link&method=open&arguments={"attributes":{"amount":' + (contribute_amount * 100) + ',"currency":"' + beestat.setting('units.currency') + '","interval":"' + contribute_interval + '"}}&api_key=' + beestat.api.api_key);
|
||||
|
||||
setTimeout(function() {
|
||||
self.rerender();
|
||||
|
Loading…
x
Reference in New Issue
Block a user