#afenster

1 messages · Page 1 of 1 (latest)

elfin martenBOT
low badge
#

Hi 👋

Terminal transactions only return the card_present payment method because that is what gets created.

#

So that is the correct one to examine. As for retrieving the CardPresent object. Let me take a look

shy jewel
#

Thanks. Here is what I get back in the PaymentMethod.CardPresent property:

#

As you can see, the data is there, but it's only available in the RawObject string.

low badge
shy jewel
#

I see. Ugh. Is there any other way I can get the last 4?

Do you think it's safe to pull it out of the RawObject? Maybe if I test again before ungrading Strip?

#

My guess is the RawObject content will be consistent, at least if I don't switch to a new version of Stripe.