#creamerydreamery

1 messages · Page 1 of 1 (latest)

maiden surgeBOT
sharp vector
#

Hi 👋 can you elaborate, or do you have more details to share? Are you seeing this same behavior in the testmode version of your flow? Do you have IDs from your testing that you can share that I can take a closer look at?

warm sparrow
#

We have just discovered this tbh and have verified with a live apple pay transaction (we have a trial period) which resulted in a customer being created without a payment source

sharp vector
#

Gotcha, I'll need more context about the flow you built in your integration then. Offhand I don't think I have enough details to know why you would be seeing that behavior.

warm sparrow
#

On the loading of the payment form I use the call paymentRequest.canMakePayment() to assertain if Google Pay or Apple Pay is available. Then I use the paymentRequest.on('token', (function(ev){//process data} to deal with the user's input after the payment has been approved. Within this data I use the token id and pass it to our backend in PHP which creates the customer via the API using the name, email, and token (via the source parameter)

sharp vector
#

Hm, still not sure. Can you share the ID of the Customer who ran into this? If you look at the log of the request to create that Customer, was a value provided for source?

warm sparrow
#

I can share it if you would care to look at it? There is no value provided for source. It simply has name and email however this shouldn't be the case as we check for the token's existence before passing it through.

#

cus_PYU5XsxM7ZXNVQ

sharp vector
#

Gotcha, yup, that aligns with what I'm seeing. Unfortunately I'm not familiar with the code you're running, so I'm not sure why it would let you make a request to create a Customer without a token value if it's expecting one to be present.

warm sparrow
#

I'll try and run it through in our dev setup and get back to you if I'm seeing anything else which might need looked at