Compatibility with both DevPay-based and stripe-based servers.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>