chargify / docs.chargify.com

Chargify Documentation
http://docs.chargify.com
14 stars 13 forks source link

Transparent Redirect Parameters #130

Open mmeo opened 8 years ago

mmeo commented 8 years ago

When using this resource URI: https://api.chargify.com/api/v2/subscriptions//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.