#.jovanm_

1 messages · Page 1 of 1 (latest)

pine flowerBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

mild ore
#

Can you share the event ID (evt_xxx) of payment_intent.succeeded event?

mortal night
#

Here: "id": "evt_3OCBHHDbxJ8mKm373DEs6t77",

#

I'm currently using test cards here.

mild ore
#

Thanks for sharing! The card source is used in this payment intent. You will be able to find the payment method under source parameter

mortal night
#

hmmm, can you guide me here on how to retrieve the payment method under source parameter?

mild ore
#

source is the payment method for older API. It's also a type of payment method. Your system can take card_xxx as the payment method

mortal night
mild ore
#

You should be able to. I'd recommend giving a try in test mode

mortal night
#

Okay, thanks for the information.

#

Another question, when will be the payment_method be null?
Right now, I discovered that doing some test subscriptions will make it null.
Is there other circumstance that the payment_method will be null?

mild ore
#

It depends on the API being used under the hood. I'd recommend checking both payment_method and source to determine the payment method used

mortal night
#

Okay, so only the
payment_method
source
will return the payment method being used? No other fields we are missing here?

mild ore
#

Yup! It should be these two fields

mortal night
#

Okay, thanks!