Stripe field get the first two digits

We have successfully integrated stripe with gravity forms. We want to add on the credit card charges to the total. For that we need the first digits of the credit card number (Visa & Mastercard charges one rate and Amex does a different rate). Question is, how do we get the number from the stripe field (it has 2 text boxes. Card Details and Cardhodler Name). Appreciate any help. Thanks.

The values entered into the Stripe field are inaccessible because it is hosted by Stripe and displayed on your site via an iframe. The add-on only receives the last 4 digits of the card after form submission when it uses their API and webhooks to update the entry with the payment result.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.