Skip to content

Commit

Permalink
fix(create-transaction): fix recurrence_model
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Sep 6, 2024
1 parent 5edf632 commit b2c3c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/lib/pagarme/payment-subscriptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const createPayment = async (params, appData, storeId, customer) => {
card: {
billing_address: address
},
recurrence_model: params.installments_number ? 'instalment' : 'standing_order',
recurrence_model: params.installments_number ? 'installment' : 'standing_order',
initiated_type: 'partial_shipment'
}
} else if (paymentMethod === 'pix') {
Expand Down

0 comments on commit b2c3c96

Please sign in to comment.