Skip to content

Instantly share code, notes, and snippets.

@SeanOC
Created May 25, 2011 20:59
Show Gist options
  • Save SeanOC/991963 to your computer and use it in GitHub Desktop.
Save SeanOC/991963 to your computer and use it in GitHub Desktop.
CG Delete All error
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/plans/get/productCode/TEST-SONGTRUST/code/BASIC_MONTHLY
SharpyClient: DEBUG: Request Method: GET
SharpyClient: DEBUG: Request Body(Data): None
SharpyClient: DEBUG: Request Body(Raw): None
SharpyClient: DEBUG: Response Status: 200
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<plans>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:41:55-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:41:55-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PAID_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>10.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:04+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/plans/get/productCode/TEST-SONGTRUST/code/BASIC_MONTHLY
SharpyClient: DEBUG: Request Method: GET
SharpyClient: DEBUG: Request Body(Data): None
SharpyClient: DEBUG: Request Body(Raw): None
SharpyClient: DEBUG: Response Status: 200
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<plans>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:41:56-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:41:56-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PAID_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>10.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:04+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/plans/get/productCode/TEST-SONGTRUST/code/BASIC_MONTHLY
SharpyClient: DEBUG: Request Method: GET
SharpyClient: DEBUG: Request Body(Data): None
SharpyClient: DEBUG: Request Body(Raw): None
SharpyClient: DEBUG: Response Status: 200
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<plans>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:41:57-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:41:57-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PAID_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>10.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:04+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/plans/get/productCode/TEST-SONGTRUST/code/BASIC_MONTHLY
SharpyClient: DEBUG: Request Method: GET
SharpyClient: DEBUG: Request Body(Data): None
SharpyClient: DEBUG: Request Body(Raw): None
SharpyClient: DEBUG: Response Status: 200
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<plans>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:41:58-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:41:58-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PAID_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>10.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:04+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/customers/new/productCode/TEST-SONGTRUST
SharpyClient: DEBUG: Request Method: POST
SharpyClient: DEBUG: Request Body(Data): {'subscription[ccState]': u'NY', 'subscription[ccCardCode]': '123', 'code': 12, 'subscription[ccFirstName]': u'Test User', 'firstName': u'Test 1', 'subscription[planCode]': u'BASIC_MONTHLY', 'lastName': u'User', 'subscription[ccLastName]': u'1', 'subscription[ccNumber]': '4111111111111111', 'subscription[method]': 'cc', 'subscription[ccZip]': u'12345', 'subscription[ccExpiration]': u'09/2011', 'email': u'garbage+1@saaspire.com', 'subscription[ccAddress]': u'123 Something St.'}
SharpyClient: DEBUG: Request Body(Raw): subscription%5BccState%5D=NY&subscription%5BccCardCode%5D=123&code=12&subscription%5BccFirstName%5D=Test+User&firstName=Test+1&subscription%5BplanCode%5D=BASIC_MONTHLY&lastName=User&subscription%5BccLastName%5D=1&subscription%5BccNumber%5D=4111111111111111&subscription%5Bmethod%5D=cc&subscription%5BccZip%5D=12345&subscription%5BccExpiration%5D=09%2F2011&email=garbage%2B1%40saaspire.com&subscription%5BccAddress%5D=123+Something+St.
SharpyClient: DEBUG: Response Status: 200
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<customers>
<customer id="70c464f2-870f-11e0-a51b-40403c39f8d9" code="12">
<firstName>Test 1</firstName>
<lastName>User</lastName>
<company/>
<email>garbage+1@saaspire.com</email>
<notes/>
<gatewayToken>SIMULATED</gatewayToken>
<isVatExempt>0</isVatExempt>
<vatNumber/>
<firstContactDatetime/>
<referer/>
<refererHost/>
<campaignSource/>
<campaignMedium/>
<campaignTerm/>
<campaignContent/>
<campaignName/>
<key>2ae29fa4ab</key>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<modifiedDatetime>2011-05-25T20:42:00+00:00</modifiedDatetime>
<metaData/>
<subscriptions>
<subscription id="70c50b78-870f-11e0-a51b-40403c39f8d9">
<plans>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:42:02-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:42:02-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PAID_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>10.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:04+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<ccFirstName>Test User</ccFirstName>
<ccLastName>1</ccLastName>
<ccCompany/>
<ccCountry/>
<ccAddress>123 Something St.</ccAddress>
<ccCity/>
<ccState>NY</ccState>
<ccZip>12345</ccZip>
<ccType>visa</ccType>
<ccLastFour>1111</ccLastFour>
<ccExpirationDate>2011-09-30T00:00:00+00:00</ccExpirationDate>
<ccEmail/>
<cancelType/>
<cancelReason/>
<canceledDatetime/>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<items>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantity>0</quantity>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantity>0</quantity>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantity>0</quantity>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantity>0</quantity>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantity>0</quantity>
</item>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantity>0</quantity>
</item>
</items>
<invoices>
<invoice id="70ef8092-870f-11e0-a51b-40403c39f8d9">
<number>2</number>
<type>subscription</type>
<vatRate/>
<billingDatetime>2011-06-25T20:42:00+00:00</billingDatetime>
<paidTransactionId/>
<createdDatetime>2011-05-25T20:42:01+00:00</createdDatetime>
<charges>
<charge id="" code="PAID_MONTHLY_RECURRING">
<type>recurring</type>
<quantity>1</quantity>
<eachAmount>10.00</eachAmount>
<description/>
<createdDatetime>2011-06-25T20:42:00+00:00</createdDatetime>
</charge>
<charge id="" code="recurring-discount">
<type>item</type>
<quantity>0</quantity>
<eachAmount>-1.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
</charges>
</invoice>
<invoice id="70cbcad0-870f-11e0-a51b-40403c39f8d9">
<number>1</number>
<type>subscription</type>
<vatRate/>
<billingDatetime>2011-05-25T20:42:00+00:00</billingDatetime>
<paidTransactionId>70dbae64-870f-11e0-a51b-40403c39f8d9</paidTransactionId>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<charges>
<charge id="70da9f9c-870f-11e0-a51b-40403c39f8d9" code="PAID_MONTHLY_RECURRING">
<type>recurring</type>
<quantity>1</quantity>
<eachAmount>10.00</eachAmount>
<description/>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
</charge>
</charges>
<transactions>
<transaction id="70dbae64-870f-11e0-a51b-40403c39f8d9" code="">
<parentId/>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<amount>10.00</amount>
<memo/>
<response>approved</response>
<responseReason>SIMULATED approved payment</responseReason>
<transactedDatetime>2011-05-25T20:42:00+00:00</transactedDatetime>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
</transaction>
</transactions>
</invoice>
</invoices>
</subscription>
</subscriptions>
</customer>
</customers>
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/customers/get/productCode/TEST-SONGTRUST/code/12
SharpyClient: DEBUG: Request Method: GET
SharpyClient: DEBUG: Request Body(Data): None
SharpyClient: DEBUG: Request Body(Raw): None
SharpyClient: DEBUG: Response Status: 200
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<customers>
<customer id="70c464f2-870f-11e0-a51b-40403c39f8d9" code="12">
<firstName>Test 1</firstName>
<lastName>User</lastName>
<company/>
<email>garbage+1@saaspire.com</email>
<notes/>
<gatewayToken>SIMULATED</gatewayToken>
<isVatExempt>0</isVatExempt>
<vatNumber/>
<firstContactDatetime/>
<referer/>
<refererHost/>
<campaignSource/>
<campaignMedium/>
<campaignTerm/>
<campaignContent/>
<campaignName/>
<key>2ae29fa4ab</key>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<modifiedDatetime>2011-05-25T20:42:00+00:00</modifiedDatetime>
<metaData/>
<subscriptions>
<subscription id="70c50b78-870f-11e0-a51b-40403c39f8d9">
<plans>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:42:03-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:42:03-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PAID_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>10.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:04+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<ccFirstName>Test User</ccFirstName>
<ccLastName>1</ccLastName>
<ccCompany/>
<ccCountry/>
<ccAddress>123 Something St.</ccAddress>
<ccCity/>
<ccState>NY</ccState>
<ccZip>12345</ccZip>
<ccType>visa</ccType>
<ccLastFour>1111</ccLastFour>
<ccExpirationDate>2011-09-30T00:00:00+00:00</ccExpirationDate>
<ccEmail/>
<cancelType/>
<cancelReason/>
<canceledDatetime/>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<items>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantity>0</quantity>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantity>0</quantity>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantity>0</quantity>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantity>0</quantity>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantity>0</quantity>
</item>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantity>0</quantity>
</item>
</items>
<invoices>
<invoice id="70ef8092-870f-11e0-a51b-40403c39f8d9">
<number>2</number>
<type>subscription</type>
<vatRate/>
<billingDatetime>2011-06-25T20:42:00+00:00</billingDatetime>
<paidTransactionId/>
<createdDatetime>2011-05-25T20:42:01+00:00</createdDatetime>
<charges>
<charge id="" code="PAID_MONTHLY_RECURRING">
<type>recurring</type>
<quantity>1</quantity>
<eachAmount>10.00</eachAmount>
<description/>
<createdDatetime>2011-06-25T20:42:00+00:00</createdDatetime>
</charge>
<charge id="" code="recurring-discount">
<type>item</type>
<quantity>0</quantity>
<eachAmount>-1.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
</charges>
</invoice>
<invoice id="70cbcad0-870f-11e0-a51b-40403c39f8d9">
<number>1</number>
<type>subscription</type>
<vatRate/>
<billingDatetime>2011-05-25T20:42:00+00:00</billingDatetime>
<paidTransactionId>70dbae64-870f-11e0-a51b-40403c39f8d9</paidTransactionId>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<charges>
<charge id="70da9f9c-870f-11e0-a51b-40403c39f8d9" code="PAID_MONTHLY_RECURRING">
<type>recurring</type>
<quantity>1</quantity>
<eachAmount>10.00</eachAmount>
<description/>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
</charge>
</charges>
<transactions>
<transaction id="70dbae64-870f-11e0-a51b-40403c39f8d9" code="">
<parentId/>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<amount>10.00</amount>
<memo/>
<response>approved</response>
<responseReason>SIMULATED approved payment</responseReason>
<transactedDatetime>2011-05-25T20:42:00+00:00</transactedDatetime>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
</transaction>
</transactions>
</invoice>
</invoices>
</subscription>
</subscriptions>
</customer>
</customers>
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/customers/edit/productCode/TEST-SONGTRUST/code/12
SharpyClient: DEBUG: Request Method: POST
SharpyClient: DEBUG: Request Body(Data): {'subscription[planCode]': u'PREMIUM_MONTHLY'}
SharpyClient: DEBUG: Request Body(Raw): subscription%5BplanCode%5D=PREMIUM_MONTHLY
SharpyClient: DEBUG: Response Status: 200
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<customers>
<customer id="70c464f2-870f-11e0-a51b-40403c39f8d9" code="12">
<firstName>Test 1</firstName>
<lastName>User</lastName>
<company/>
<email>garbage+1@saaspire.com</email>
<notes/>
<gatewayToken>SIMULATED</gatewayToken>
<isVatExempt>0</isVatExempt>
<vatNumber/>
<firstContactDatetime/>
<referer/>
<refererHost/>
<campaignSource/>
<campaignMedium/>
<campaignTerm/>
<campaignContent/>
<campaignName/>
<key>2ae29fa4ab</key>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<modifiedDatetime>2011-05-25T20:42:00+00:00</modifiedDatetime>
<metaData/>
<subscriptions>
<subscription id="72c6518e-870f-11e0-a51b-40403c39f8d9">
<plans>
<plan id="7b2df2b0-7146-102e-b098-40402145ee8b" code="PREMIUM_MONTHLY">
<name>Premium Monthly</name>
<displayName>Premium Monthly • 20.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:42:04-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:42:04-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PREMIUM_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>20.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:32+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>1</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>1</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>30.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>15.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>5.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<ccFirstName>Test User</ccFirstName>
<ccLastName>1</ccLastName>
<ccCompany/>
<ccCountry/>
<ccAddress>123 Something St.</ccAddress>
<ccCity/>
<ccState>NY</ccState>
<ccZip>12345</ccZip>
<ccType>visa</ccType>
<ccLastFour>1111</ccLastFour>
<ccExpirationDate>2011-09-30T00:00:00+00:00</ccExpirationDate>
<ccEmail/>
<cancelType/>
<cancelReason/>
<canceledDatetime/>
<createdDatetime>2011-05-25T20:42:04+00:00</createdDatetime>
<items>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantity>0</quantity>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantity>0</quantity>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantity>0</quantity>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantity>0</quantity>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantity>0</quantity>
</item>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantity>0</quantity>
</item>
</items>
<invoices>
<invoice id="70ef8092-870f-11e0-a51b-40403c39f8d9">
<number>2</number>
<type>subscription</type>
<vatRate/>
<billingDatetime>2011-06-25T20:42:00+00:00</billingDatetime>
<paidTransactionId/>
<createdDatetime>2011-05-25T20:42:01+00:00</createdDatetime>
<charges>
<charge id="" code="PREMIUM_MONTHLY_RECURRING">
<type>recurring</type>
<quantity>1</quantity>
<eachAmount>20.00</eachAmount>
<description/>
<createdDatetime>2011-06-25T20:42:00+00:00</createdDatetime>
</charge>
<charge id="" code="recurring-discount">
<type>item</type>
<quantity>0</quantity>
<eachAmount>-1.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
<charge id="" code="collections-world">
<type>item</type>
<quantity>0</quantity>
<eachAmount>30.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
<charge id="" code="collections-eu">
<type>item</type>
<quantity>0</quantity>
<eachAmount>15.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
<charge id="" code="collections-uk">
<type>item</type>
<quantity>0</quantity>
<eachAmount>5.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
</charges>
</invoice>
</invoices>
</subscription>
<subscription id="70c50b78-870f-11e0-a51b-40403c39f8d9">
<plans>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:42:04-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:42:04-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PAID_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>10.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:04+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<ccFirstName>Test User</ccFirstName>
<ccLastName>1</ccLastName>
<ccCompany/>
<ccCountry/>
<ccAddress>123 Something St.</ccAddress>
<ccCity/>
<ccState>NY</ccState>
<ccZip>12345</ccZip>
<ccType>visa</ccType>
<ccLastFour>1111</ccLastFour>
<ccExpirationDate>2011-09-30T00:00:00+00:00</ccExpirationDate>
<ccEmail/>
<cancelType/>
<cancelReason/>
<canceledDatetime/>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<invoices>
<invoice id="70cbcad0-870f-11e0-a51b-40403c39f8d9">
<number>1</number>
<type>subscription</type>
<vatRate/>
<billingDatetime>2011-05-25T20:42:00+00:00</billingDatetime>
<paidTransactionId>70dbae64-870f-11e0-a51b-40403c39f8d9</paidTransactionId>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<charges>
<charge id="70da9f9c-870f-11e0-a51b-40403c39f8d9" code="PAID_MONTHLY_RECURRING">
<type>recurring</type>
<quantity>1</quantity>
<eachAmount>10.00</eachAmount>
<description/>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
</charge>
</charges>
<transactions>
<transaction id="70dbae64-870f-11e0-a51b-40403c39f8d9" code="">
<parentId/>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<amount>10.00</amount>
<memo/>
<response>approved</response>
<responseReason>SIMULATED approved payment</responseReason>
<transactedDatetime>2011-05-25T20:42:00+00:00</transactedDatetime>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
</transaction>
</transactions>
</invoice>
</invoices>
</subscription>
</subscriptions>
</customer>
</customers>
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/customers/get/productCode/TEST-SONGTRUST/code/12
SharpyClient: DEBUG: Request Method: GET
SharpyClient: DEBUG: Request Body(Data): None
SharpyClient: DEBUG: Request Body(Raw): None
SharpyClient: DEBUG: Response Status: 200
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<customers>
<customer id="70c464f2-870f-11e0-a51b-40403c39f8d9" code="12">
<firstName>Test 1</firstName>
<lastName>User</lastName>
<company/>
<email>garbage+1@saaspire.com</email>
<notes/>
<gatewayToken>SIMULATED</gatewayToken>
<isVatExempt>0</isVatExempt>
<vatNumber/>
<firstContactDatetime/>
<referer/>
<refererHost/>
<campaignSource/>
<campaignMedium/>
<campaignTerm/>
<campaignContent/>
<campaignName/>
<key>2ae29fa4ab</key>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<modifiedDatetime>2011-05-25T20:42:00+00:00</modifiedDatetime>
<metaData/>
<subscriptions>
<subscription id="72c6518e-870f-11e0-a51b-40403c39f8d9">
<plans>
<plan id="7b2df2b0-7146-102e-b098-40402145ee8b" code="PREMIUM_MONTHLY">
<name>Premium Monthly</name>
<displayName>Premium Monthly • 20.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:42:05-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:42:05-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PREMIUM_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>20.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:32+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>1</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>1</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>30.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>15.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>5.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<ccFirstName>Test User</ccFirstName>
<ccLastName>1</ccLastName>
<ccCompany/>
<ccCountry/>
<ccAddress>123 Something St.</ccAddress>
<ccCity/>
<ccState>NY</ccState>
<ccZip>12345</ccZip>
<ccType>visa</ccType>
<ccLastFour>1111</ccLastFour>
<ccExpirationDate>2011-09-30T00:00:00+00:00</ccExpirationDate>
<ccEmail/>
<cancelType/>
<cancelReason/>
<canceledDatetime/>
<createdDatetime>2011-05-25T20:42:04+00:00</createdDatetime>
<items>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantity>0</quantity>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantity>0</quantity>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantity>0</quantity>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantity>0</quantity>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantity>0</quantity>
</item>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantity>0</quantity>
</item>
</items>
<invoices>
<invoice id="70ef8092-870f-11e0-a51b-40403c39f8d9">
<number>2</number>
<type>subscription</type>
<vatRate/>
<billingDatetime>2011-06-25T20:42:00+00:00</billingDatetime>
<paidTransactionId/>
<createdDatetime>2011-05-25T20:42:01+00:00</createdDatetime>
<charges>
<charge id="" code="PREMIUM_MONTHLY_RECURRING">
<type>recurring</type>
<quantity>1</quantity>
<eachAmount>20.00</eachAmount>
<description/>
<createdDatetime>2011-06-25T20:42:00+00:00</createdDatetime>
</charge>
<charge id="" code="recurring-discount">
<type>item</type>
<quantity>0</quantity>
<eachAmount>-1.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
<charge id="" code="collections-world">
<type>item</type>
<quantity>0</quantity>
<eachAmount>30.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
<charge id="" code="collections-eu">
<type>item</type>
<quantity>0</quantity>
<eachAmount>15.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
<charge id="" code="collections-uk">
<type>item</type>
<quantity>0</quantity>
<eachAmount>5.00</eachAmount>
<description/>
<createdDatetime/>
</charge>
</charges>
</invoice>
</invoices>
</subscription>
<subscription id="70c50b78-870f-11e0-a51b-40403c39f8d9">
<plans>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
<description/>
<isActive>1</isActive>
<isFree>0</isFree>
<paymentMethodIsRequired>1</paymentMethodIsRequired>
<trialDays>0</trialDays>
<initialBillCount>0</initialBillCount>
<initialBillCountUnit>days</initialBillCountUnit>
<initialInvoiceBillingDatetime>2011-05-25T16:42:05-04:00</initialInvoiceBillingDatetime>
<billingFrequency>monthly</billingFrequency>
<billingFrequencyPer>month</billingFrequencyPer>
<billingFrequencyUnit>months</billingFrequencyUnit>
<billingFrequencyQuantity>1</billingFrequencyQuantity>
<nextInvoiceBillingDatetime>2011-06-25T16:42:05-04:00</nextInvoiceBillingDatetime>
<setupChargeCode/>
<setupChargeAmount>0.00</setupChargeAmount>
<recurringChargeCode>PAID_MONTHLY_RECURRING</recurringChargeCode>
<recurringChargeAmount>10.00</recurringChargeAmount>
<onChangeInitialBillHandler>next</onChangeInitialBillHandler>
<setupChargeBillHandler>now</setupChargeBillHandler>
<onChangeSetupChargeBillHandler>no</onChangeSetupChargeBillHandler>
<createdDatetime>2011-01-14T15:52:04+00:00</createdDatetime>
<items>
<item id="248df41c-c193-102e-b098-40402145ee8b" code="recurring-discount">
<name>Recurring Discount</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>-1.00</overageAmount>
<createdDatetime>2011-04-26T20:22:51+00:00</createdDatetime>
</item>
<item id="c74d23d2-c0bf-102e-b098-40402145ee8b" code="collections-canada">
<name>US + Canada Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c7503112-c0bf-102e-b098-40402145ee8b" code="collections-us">
<name>US Only Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c752a21c-c0bf-102e-b098-40402145ee8b" code="collections-world">
<name>Global Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c755af5c-c0bf-102e-b098-40402145ee8b" code="collections-eu">
<name>UK + Europe Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
<item id="c758205c-c0bf-102e-b098-40402145ee8b" code="collections-uk">
<name>UK Collections</name>
<quantityIncluded>0</quantityIncluded>
<isPeriodic>0</isPeriodic>
<overageAmount>0.00</overageAmount>
<createdDatetime>2011-04-25T19:09:51+00:00</createdDatetime>
</item>
</items>
</plan>
</plans>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<ccFirstName>Test User</ccFirstName>
<ccLastName>1</ccLastName>
<ccCompany/>
<ccCountry/>
<ccAddress>123 Something St.</ccAddress>
<ccCity/>
<ccState>NY</ccState>
<ccZip>12345</ccZip>
<ccType>visa</ccType>
<ccLastFour>1111</ccLastFour>
<ccExpirationDate>2011-09-30T00:00:00+00:00</ccExpirationDate>
<ccEmail/>
<cancelType/>
<cancelReason/>
<canceledDatetime/>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<invoices>
<invoice id="70cbcad0-870f-11e0-a51b-40403c39f8d9">
<number>1</number>
<type>subscription</type>
<vatRate/>
<billingDatetime>2011-05-25T20:42:00+00:00</billingDatetime>
<paidTransactionId>70dbae64-870f-11e0-a51b-40403c39f8d9</paidTransactionId>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
<charges>
<charge id="70da9f9c-870f-11e0-a51b-40403c39f8d9" code="PAID_MONTHLY_RECURRING">
<type>recurring</type>
<quantity>1</quantity>
<eachAmount>10.00</eachAmount>
<description/>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
</charge>
</charges>
<transactions>
<transaction id="70dbae64-870f-11e0-a51b-40403c39f8d9" code="">
<parentId/>
<gatewayToken>SIMULATED</gatewayToken>
<gatewayAccount>
<id>791757dc-7f6b-11e0-a51b-40403c39f8d9</id>
<gateway>CheddarGateway_Simulator</gateway>
<type>cc</type>
</gatewayAccount>
<amount>10.00</amount>
<memo/>
<response>approved</response>
<responseReason>SIMULATED approved payment</responseReason>
<transactedDatetime>2011-05-25T20:42:00+00:00</transactedDatetime>
<createdDatetime>2011-05-25T20:42:00+00:00</createdDatetime>
</transaction>
</transactions>
</invoice>
</invoices>
</subscription>
</subscriptions>
</customer>
</customers>
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/customers/delete-all/confirm/1306356126/productCode/TEST-SONGTRUST
SharpyClient: DEBUG: Request Method: POST
SharpyClient: DEBUG: Request Body(Data): None
SharpyClient: DEBUG: Request Body(Raw): None
SharpyClient: DEBUG: Response Status: 400
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?>
<error id="918633" code="400" auxCode="">Current subscription not found for customer code=12 in product=TEST-SONGTRUST</error>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment