mirror of
https://github.com/pretix/pretix.git
synced 2026-04-25 23:42:32 +00:00
Compare commits
2 Commits
datasync-l
...
v2023.10.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c190fc315c | ||
|
|
eebd499359 |
@@ -19,4 +19,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License along with this program. If not, see
|
# You should have received a copy of the GNU Affero General Public License along with this program. If not, see
|
||||||
# <https://www.gnu.org/licenses/>.
|
# <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
__version__ = "2023.10.0"
|
__version__ = "2023.10.1"
|
||||||
|
|||||||
@@ -924,6 +924,11 @@ class StripePaymentIntentMethod(StripeMethod):
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if self.method == "card":
|
||||||
|
params['statement_descriptor_suffix'] = self.statement_descriptor(payment)
|
||||||
|
else:
|
||||||
|
params['statement_descriptor'] = self.statement_descriptor(payment)
|
||||||
|
|
||||||
intent = stripe.PaymentIntent.create(
|
intent = stripe.PaymentIntent.create(
|
||||||
amount=self._get_amount(payment),
|
amount=self._get_amount(payment),
|
||||||
currency=self.event.currency.lower(),
|
currency=self.event.currency.lower(),
|
||||||
@@ -935,7 +940,6 @@ class StripePaymentIntentMethod(StripeMethod):
|
|||||||
event=self.event.slug.upper(),
|
event=self.event.slug.upper(),
|
||||||
code=payment.order.code
|
code=payment.order.code
|
||||||
),
|
),
|
||||||
statement_descriptor=self.statement_descriptor(payment),
|
|
||||||
metadata={
|
metadata={
|
||||||
'order': str(payment.order.id),
|
'order': str(payment.order.id),
|
||||||
'event': self.event.id,
|
'event': self.event.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user