I am trying to pass 5 different items to a Paypal shopping cart.
I have 3 field for each item (description, cost, qty).
How do I pass all of the field data to Paypal. Could not find an example that shows this.
Thanks!
Hi Bob,
Thanks for your reply.
I would like to compare both solutions. How would I accomplish this with RedirectURL?
Jeff
Hi jeffmail,
You'd work out the list of parameters you need to send to PayPal and set them up in the ReDirect action. There isn't much else to say.
Note that if you use the ReDirect action alone you will not get Instant Payment Notification - you still need to have an appropriate PayPal account and a listener set up or that to work.
Bob
Hi,
This can be done using the "PayPal redirect" action, this is explained under the "item name field":
The field name holding the item's title, if the field value is an array then multiple items will be shown on the PayPal page, and both the amount and quantity fields should be of type array too. also for this to work, the Command should be set to '_cart' and you should add upload="1" to the extra params box.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
I did read that while using Chronoform. Unfortunately I could not find documentation on how to use Chronoform to setup an array. Due to this, I started looking for examples.....
If you could point me to the docs on setting up and using an array, I would appreciate it.
Thanks,
Jeff
Hi Jeff,
A checkboxes group of items will send an array, array fields names have square brackets after them:
field_name[]
You may also inject the value in the data array using PHP code.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.