2

The context is a staff member taking a phone call from a member and then filling in a webform including a payment for them.

The webform is added to the actions menu so the webform is passed '?cid=XXX' to load the contact. The problem is that when it comes to payment (by Stripe), the billing block is loading the details of the person filling in the form, not those of the person on the phone.

How can webform be configured to use the details of the contact on the form? Answers involving code writing are fine:-)

0

First thing to do is to try this PR by Coleman: https://github.com/colemanw/webform_civicrm/pull/206

  • Thanks for the quick response @karing but I'm not following you. The form is using 1 contact passed in as cid1 and the details of cid1 are populated as expected except for the billing block which is populated with the logged in user's details. I want the billing block to also use cid1. – Aidan Nov 3 '19 at 21:25
  • Sorry Aiden - I misread your question initially. Just pinged a collegue for some examples of their setup (was going to make you one but I’ve managed to botch my own test site for the moment); They have staff entering Donations and Calendar sales via Webform (by their office staff) - I think it closely resembles what you want to do; – KarinG - Semper IT Nov 4 '19 at 17:13
  • Thanks - I've added some comments on that PR. – Aidan Nov 7 '19 at 19:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.