Happy Business Starts Here

New Student

Create Subscription from Salesforce with Duplicate Products

Nevermind. I found the code bug. 

 

When the subscription is created, the problem is that the two charges are duplicated. The second one in the RatePlanChargeData list overwrites the data of the first one. The sub ends-up with two lines saying exactly the same thing (Qty, price, etc.)

 

First, is it possible to add duplicate products to a subscription?

If yes, how do I get them to reflect the pricing and quantity that they were passed in with?

 

Thanks,

Tom

1 REPLY 1
Community Manager

Re: Create Subscription from Salesforce with Duplicate Products

Sounds good @tglaess! I'll cross-reference your other post here in the API forum just in case folks are looking for it.  Thanks for the update.


Lana Lee | Senior Community Manager and Strategist
"A little consideration, a little thought for others, makes all the difference." —A. A. Milne