Skip to content

Instantly share code, notes, and snippets.

@npverni
Created May 19, 2010 21:46
Show Gist options
  • Select an option

  • Save npverni/406882 to your computer and use it in GitHub Desktop.

Select an option

Save npverni/406882 to your computer and use it in GitHub Desktop.
<subscription>
<product_id>'.$product.'</product_id>
<customer_attributes>
<first_name>'.$fname.'</first_name>
<last_name>'.$lname.'</last_name>
<email>'.$email.'</email>
<organization>'.$propertyname.'</organization>
<address>'.$shipadd1.'</address>
<address_2>'.$shipadd2.'</address_2>
</customer_attributes>
<credit_card_attributes>
<first_name>'.$fname.'</first_name>
<last_name>'.$lname.'</last_name>
<full_number>'.$creditno.'</full_number>
<expiration_month>'.$month.'</expiration_month>
<expiration_year>'.$year.'</expiration_year>
<billing_address>'.$billadd1.'</billing_address>
<billing_address_2>'.$billadd2.'</billing_address_2>
<billing_city>'.$billcity.'</billing_city>
<billing_state>'.$ship_state.'</billing_state>
<billing_zip>'.$billcode.'</billing_zip>
<billing_country>'.$ship_country.'</billing_country>
</credit_card_attributes>
</subscription>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment