I am trying to migrate from paypal to google checkout and came across this error when first attempting to use it: Code: Error parsing XML; message from parser is: Invalid value for attribute period in checkout-shopping-cart/shopping-cart/items/item/subscription: Required field must not be blank XML failed to validate against the schema at line: 13, column 13, with error: cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[DAILY, WEEKLY, SEMI_MONTHLY, MONTHLY, EVERY_TWO_MONTHS, QUARTERLY, YEARLY, DEBUG_THIRTY_SECONDS]'. It must be a value from the enumeration. XML failed to validate against the schema at line: 13, column 13, with error: cvc-attribute.3: The value '' of attribute 'period' on element 'subscription' is not valid with respect to its type, 'DatePeriod'. Line 13 (referenced above) is: Code: <subscription period="" start-date="2010-07-05T00:00:00-07:00" type="merchant"> I went to look at the code, and it appears as though the aMember plugin will not enter a value in that field unless the subscription length is exactly 1 day, 1 week, 2 weeks, 1 month, 2 months, 4 months, or 1 year. (See google_checkout_inc.php, lines 173-189 in version 3.1.9) So, I'm getting this error because I had set a subscription to have a "5 day trial period". Is this a google checkout restriction or an amember oversight?
Weird ...I wonder why they required a value from an enumeration list rather than simply allowing people to indicate a value that included a number and a letter (i.e., 30d = 30 days). They're using xml anyway -- it could be parsed any number of ways. Just seems a weird thing. But, I guess it's typical -- none of the major companies seem overly interested in subscription based businesses.