kfrancis / Chargify2

5 stars 7 forks source link

How can I get the coupon code? #5

Closed Jabberrwocky closed 9 years ago

Jabberrwocky commented 9 years ago

Hi,

Until I upgraded to the latest version of Chargify2, I could use the following line of code to get the coupon code:

call["call"]["request"]["signup"]["coupon_code"]

Is it still possible to get the coupon code? I expected it to be here, but it was not:

call.request.signup.coupon_code

Thanks.

Jabberrwocky commented 9 years ago

I figured out how to add this feature to your project and have submitted a pull request.

kfrancis commented 9 years ago

Looks good! :shipit: