Skip to content

Commit

Permalink
Pass credit card fingerprint on payment details update (#2783)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiMysko authored Oct 9, 2023
1 parent 734f20d commit c2c82d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/billing/payment-details-tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export default Component.extend({
});
if (token) {
paymentDetails['token'] = token.id;
paymentDetails['fingerprint'] = token.card.fingerprint;
}
const endpoint = this.isV2SubscriptionEmpty ? 'subscription' : 'v2_subscription';
yield this.api.patch(`/${endpoint}/${subscription.id}/payment_details`, {
Expand Down

0 comments on commit c2c82d9

Please sign in to comment.