Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Transparent Redirect Parameters #130

Open
mmeo opened this issue Jan 11, 2016 · 0 comments
Open

Transparent Redirect Parameters #130

mmeo opened this issue Jan 11, 2016 · 0 comments

Comments

@mmeo
Copy link
Contributor

mmeo commented Jan 11, 2016

When using this resource URI: https://api.chargify.com/api/v2/subscriptions/<subscription.id>/card_update
the correct resource parameter to use is: payment_profile[first_name]

When using this resource URI: https://api.chargify.com/api/v2/signups
the correct parameter is: signup[payment_profile][first_name]

However, sending signup[payment_profile][first_name] to the card_update URI will:

  1. Not do what was intended (update card info) as implied by the use of the card_update URI
  2. Also not successfully create a new customer signup
  3. Return a 200 status code as though everything went ok

Essentially, it does neither action (signup/card_update) successfully yet still returns 200.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant