#batler2657

1 messages · Page 1 of 1 (latest)

waxen viperBOT
fallow heath
#

Oh, and the attach card returned array APPEARED like the attach card action was successful / there was no error key in the returned array.

dusk copper
fallow heath
#

One sec...

#

Yeah, the fingerprint matches from the tab (I havne't closed that tab): KiLTh2RMEyz5UE89

dusk copper
#

This payment method is still attached to cus_ONCfFhBUjc2Jka

fallow heath
#

Let me re-verify the test files for each function just in case...

dusk copper
fallow heath
dusk copper
fallow heath
#

Ah...I see the disconnect.

#

Yeah, the documentation is confusing as hell (not your fault).

#

So I need to revise those functions...

#

I'll confirm in a few minutes. Thank you for the clarification.

dusk copper
#

No problem! Happy to help 😄

fallow heath
#

Okay, I have that working!

#

So this may or may not be an easy request...

#

I have six API function calls and I just want to make sure that I'm not using anything legacy so...

#

If you can confirm that these URLs / API calls are correct or legacy I'd greatly appreciate it...

dusk copper
fallow heath
#

AH! Thank you! Sorry, hope that wasn't too much of a PITA.

#

When a PM is detached does it still exist in the system? Or does detaching it remote it outright?

dusk copper
#

Cards API is legacy and it shouldn't be used. Payment Methods API should be used instead.

When a PM is detached does it still exist in the system? Or does detaching it remote it outright?
When a payment method is detached, it can no longer be used

fallow heath
#

Okay I got that.

#

What I'm saying is the payment methods is the latest version...

#

So when you detach a PM does the PM itself become deleted/lost/etc?

dusk copper
#

When the payment method is detached, the information can still be retrieved, but it can't be used to process payment or found under any customer.

#

This works the same as deleting a legacy card

fallow heath
#

Would I be correct to assume that once detached that payment method can not be re-attached? Mostly just pure curiousity.

dusk copper
#

After the payment method is detached, it can't be re-attached

fallow heath
#

That makes sense. I'd just require the customer to enter in a new card or re-enter the old one.

dusk copper
#

Yup! That's right