Changes in Xsolla API
- The parameters for transmitting promo code data were added to the Get Token method. All information about the promo code is specified in the purchase.coupon_code parameter and the promo code value is specified in purchase.coupon_code.value. The purchase.coupon_code.hidden parameter determines whether or not the field promo code value is entered into should be hidden in the payment UI and has the ‘false’ value by default.
- The trial period type was changed in the Created Subscription webhook. Now the subscription.trial.type parameter can only be ‘day’.