CRM Core Profile Commerce Items configuration

Last updated on
11 March 2017

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

This module allows to accept payments on the site with help of Drupal Commerce module together with creating/updating CRM Core data.

It expose a "Commerce Profile" tab to main CRM Core Profile edit page and when enabled provides this fields that can be added to profile form:

  • Amount field — which is supposed to be used when profile form expose single product/donation or service with fixed or variable amount(useful for donations when user can select amount of donation).
  • Shopping cart — which is supposed to be used for switching between multiple products/services.
  • Billing address — used to provide billing information to Commerce.
  • Payment form — payment form itself.

The tricky part here is that none of this fields is required and profile form behavior is depends on the added fields and other configuration of the profile form.

In general you MUST add amount field OR shopping cart to the form in order to process payments with this form.
Also you MUST have a billing information on your form. This can be a billing address field provided by this module OR this can be any other address field (provided by addressfield module) attached to contact type that you will use on this profile form. If you select to use your custom address field to provide billing information this must be specified on profile settings form in the "Commerce Items" section. Also if you will not include billing address field in your profile form you will need to specify fields that will be used as contact name in the same section.
Adding payment form to your profile form will mean that payment will be processed on form submission. To use any payment method that require a redirect to payment processor site like PayPal WPS you should not include payment form in your profile form. With this configuration user will be redirected to checkout page after submitting a profile form and payment will be completely handled by Drupal Commerce. Keep in mind that no payment validation is happen with this configuration and it's completely your responsibility.

Help improve this page

Page status: No known problems

You can: