Skip to content

Commit

Permalink
fix: tokenized PRBs payment type (#8966)
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso committed Jun 17, 2024
1 parent 25db37e commit 17a3cfa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelog/fix-tokenized-payment-request-payment-fix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

fix: tokenized PRBs payment type
4 changes: 4 additions & 0 deletions client/tokenized-payment-request/transformers/stripe-to-wc.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ export const transformStripePaymentMethodForStoreApi = ( paymentData ) => {
},
payment_method: 'woocommerce_payments',
payment_data: [
{
key: 'payment_method',
value: 'card',
},
{
key: 'payment_request_type',
value: paymentRequestType,
Expand Down

0 comments on commit 17a3cfa

Please sign in to comment.