Is it possible to set multiple billing agreements in SetExpressCheckout?

jatinder_thind
Contributor
Contributor

My website allows customers to "repeat" orders for some of the cart items during checkout. Some orders items might be one-time purchases, others might be every two weeks, yet another item might be every 4 weeks, etc.

 

Earlier, I was using L_BILLINGTYPEn and L_BILLINGAGREEMENTDESCRIPTIONn fields to create multiple Billing Agreements in the SetExpressCheckout call.

 

Example:

L_BILLINGTYPE0 : RecurringPayments

L_BILLINGAGREEMENTDESCRIPTION0 : Product One

L_BILLINGTYPE1 : RecurringPayments

L_BILLINGAGREEMENTDESCRIPTION1 : Product Two

 

But now the PayPal docs say:

  1. There can only be one billing agreement type and one billing agreement description.
  2. Note: The n formatting is retained for backwards compatibility and can now only be 0. PayPal ignores any other numbers.

Do I now have to call SetExpressCheckout multiple times if I want to set multiple Billing Agreements? Does that mean a customer can purchase only one repeat order at a time?

 

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.