bug5878: Bugfix: It is now possible to subscribe to a plan and set a VAT number if previously subscribed to another plan.

This commit is contained in:
Udo Wessels committed 2023-07-28 15:14:34 +02:00
1 parent f525effb77
commit e31f756567
2 files changed
+3 -3

No files matched your search

@@ -25,6 +25,8 @@
are subject to any column factors being applied; this may contradict an event's rules that may state that certain
penalties, such as <tt>STP</tt> are <em>not</em> subject to doubling for a medal race. In such cases, specify half
the penalty when editing the increment.</li>
<li>
Bug fix: It is now possible to subscribe to a plan and set a VAT number if previously subscribed to another plan.</li>
</ul>
<h5 class="articleSubheadline">June 2023</h5>
<ul class="bulletList">
@@ -149,9 +149,7 @@ public class ChargebeeSubscriptionWriteServiceImpl extends ChargebeeSubscription
.subscriptionItemItemPriceId(0, priceId)
.subscriptionItemQuantity(0,1)
.customerId(user.getName()).customerEmail(user.getEmail())
.customerFirstName(usernames.getA()).customerLastName(usernames.getB())
.billingAddressFirstName(usernames.getA())
.billingAddressLastName(usernames.getB());
.customerFirstName(usernames.getA()).customerLastName(usernames.getB());
if (isChargebeeSupportedLocale(locale)) {
requestBuilder.customerLocale(locale);
}