Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download commerce-7.x-1.0-alpha2.tar.gztar.gz 148.32 KB
MD5: 092559792765f635bdd4f30fcc47329d
SHA-1: 636ee9a366c3e17e8d5f11fd0895725aaf5b045f
SHA-256: 13b7f4793affe1dde978d740094ccf8047652281f3743c108a6fb6f8720ad28e
Download commerce-7.x-1.0-alpha2.zipzip 223.44 KB
MD5: 6240059500e01dae21888b8915dea5f2
SHA-1: 50c13e8574bad7142702b569641e165931dc395d
SHA-256: a7067e4e1e197c53bd16741b7b02d604c18da3dbd1338d7e6f7eee2d771c5db7

Release notes

Alpha 2 represents a ton of work on the systems in general and on the Payment module specifically. Contributed modules may actually begin to integrate payment components into the checkout process, as Commerce PayPal does for PayPal WPS. Transactions can actually be created and associated with orders, and are visible on an order's Payment tab in a View that includes a form for adding new payments. There's still work to be done, but it is now ready for some outside eyes to take a serious look at the way modules will have to integrate with checkout and the payment terminal.

I've recently made an effort to document all the info hooks int he Commerce modules in the Specification handbook on drupalcommerce.org. This work turned up some API inconsistencies that have been addressed. Additional attention still needs to be paid to the Entity and Field implementations to detect similar issues and develop a working specification.

The last couple of days have also seen bug fixes to get Commerce running on Drupal 7.0-beta1. Similar work was done on the Address Field module, so I rolled that into an alpha1 release for some serious testing and bug reporting as well.

Many thanks to auzigog for his work on building out a SimpleTest base class we can use to develop Commerce tests. He's documented how to use the class in the Specification handbook, so let's see some test patches now. ; )

As before, the best way to start testing Commerce quickly is to use my Commerce Dev installation profile. To get it, click the download button in the top right at http://github.com/rszrama/commercedev and extract the contents into drupal/profiles/commercedev. There are some issues with display formatter settings in the default image fields the profile is creating, so use it with a bit of patience. Alternately, the longstanding issues with module installation seem to be fixed, so you can always set everything up by hand.

Full list of commits since the last release:

  • 2010-10-08
    #936312: Fatal error: Call to undefined function commerce_customer_access() by rszrama: fix a misnamed access function call.
  • 2010-10-08
    Undo the embed parameter for customer profile forms and fix the customer profile checkout pane instead; also remove some abuse in the customer profile checkout pane's validate and submit handlers.
  • 2010-10-08
    Allow customer forms to be easily embedded, update breadcrumb names, and add a missing payment transaction theme key.
  • 2010-10-07
    Removing now invalid uses of MENU_CALLBACK and updating some local actions accordingly.
  • 2010-10-07
    Resolve missing index notices for the customer profile theme function and product reference field settings form.
  • 2010-10-07
    On validation rebuild the form a line item manager widget is attached to if the data entered should change the form.
  • 2010-10-07
    Fix the arguments for strpos() in commerce_payment_method_instance_load(). :-/
  • 2010-10-07
    #902288: Update forms using $form_state['build_info']['file'] to use $form_state['build_info']['files'] by rszrama: update form state build_info file array to files per changes in the forms API.
  • 2010-10-07
    Fix a bug that caused the cached line item types array to be converted to line item type names.
  • 2010-10-07
    Fix the payment terminal payment add form to accommodate no available payment methods.
  • 2010-10-07
    Bypass payment checkout pane validation / submission when there are no payment methods available.
  • 2010-10-07
    Fix the product UI menu items for D7-beta1.
  • 2010-10-06
    Remove an unused local action on the payment administration screen.
  • 2010-10-06
    Removing buggy order created date Rules integration for now.
  • 2010-10-06
    Implement a commerce_payment_method_callback() function similar to retrieve callback names and check for function existence as used for checkout panes / line item types.
  • 2010-10-06
    #932462: Merge Line Item type callback properties into a callbacks array by rszrama: merge the line item type callbacks into a callbacks array and add a function to retrieve a callback name while checking for its existence.
  • 2010-10-06
    ]#932296] by PieterDC, rszrama: add an order status Token and fix chained Tokens for order and product changed dates.
  • 2010-10-06
    Update transaction status variable names for consistency and get rid of some unnecessary properties in order status definitions.
  • 2010-10-05
    Updates to currency data structure based on ISO 4217 terminology.
  • 2010-10-02
    Fix a couple minor bugs while also ensuring transactions store an instance_id for the payment method if available and have a view page accessible via the operation link.
  • 2010-10-01
    Remove unused code from the add payment form from before payment method validation of a transaction was moved into an actual form validate handler.
  • 2010-10-01
    #927164: Use payment method instances in the Add payment form by rszrama: changed the add payment form to use payment method instance IDs so the form can submit using a particular settings configuration for the given payment method.
  • 2010-10-01
    #916348: Change the checkbox to remove from the cart to a styled submit button by rszrama: change the cart form to use individual submit buttons instead of checkboxes to remove items from the cart.
  • 2010-10-01
    Pass an array of form parents to payment method validate handlers so they can properly set errors on the form without hardcoding a specific element name.
  • 2010-09-30
    Removing unused validate and submit handlers for the redirected payment checkout pane; validation and submitting is actually handled in the form callback due to the processing of returns from the remote gateway.
  • 2010-09-30
    Add payment method fields to the payment terminal and allow the method to validate the input before saving the new transaction.
  • 2010-09-28
    Update the default Payment View to add a placeholder for empty messages and remote IDs.
  • 2010-09-28
    Generate a payment terminal form when the Add payment form is submitted on an order's Payment tab.
  • 2010-09-28
    Pass the order ID for a new transaction on to the controller.
  • 2010-09-28
    Allow modules to specify the order ID when a new transaction is created along with the payment method.
  • 2010-09-28
    Instead of using a delete link directly in the Payment View, use a new Operations field that will load any contextual link for the given payment.
  • 2010-09-27
    Adding handlers that weren't automatically added in the last commit...
  • 2010-09-27
    #841974: Payment UI by rszrama: added a transaction delete form and the proper link in the Operations column on the Payment View.
  • 2010-09-27
    Set a meaningful breadcrumb on the Payment tab for orders.
  • 2010-09-27
    Typo fix in the totals area handler for its option's default value.
  • 2010-09-27
    Add an API function to calculate the total of an order by subtracting the total payments received from the line item total for the order.
  • 2010-09-27
    Move the negative symbol on negative formatted currencies to before the currency symbol.
  • 2010-09-27
    #912564: Create a transaction entity by rszrama: distinguish between local and remote transaction statuses and add theming / Views support to render statuses using icons as specified by #841974
  • 2010-09-27
    #841974: Payment UI by rszrama: implemented the default payment tab View for orders listing transaction history.
  • 2010-09-24
    Allow the payment totals area handler to render for empty Views.
  • 2010-09-24
    Add the ability for a payment totals area handler to display an add payment form when the View uses a single order argument.
  • 2010-09-24
    Don't attempt to render an invalid order status in Views.
  • 2010-09-24
    Provided Views integration for all payment transaction fields including an updated area handler to add totals and order balance information to a payment transaction View.
  • 2010-09-24
    Update the payment transaction schema to serialize arrays in blob columns automatically.
  • 2010-09-22
    #912564: Create a transaction entity by rszrama: Committing the payment transaction entity and basic API.
  • 2010-09-22
    Minor code change to save some bytes (thanks to PHP 5's magic object referencing) and fix to payment method enabling action to check for an array key before setting a variable.
  • 2010-09-22
    Fix a mixing callback problem with the customer reference field and Rules.
  • 2010-09-22
    Allow payment methods to specify alternate titles for use in places where the official name of the payment service does not make sense.
  • 2010-09-21
    Temporary update to allow an option select list for choosing a customer profile via a reference field; also includes various tweaks to the field functions and API functions to return a matching subset of the customer profile table.
  • 2010-09-21
    #891438: Standardize names of Views by rszrama: Update the line item reference display formatter to use the updated View name.
  • 2010-09-21
    Fix a dependency and some comments pertaining to the product reference field.
  • 2010-09-21
    Remove an unnecessary payment method settings test from the Null Payment module.
  • 2010-09-21
    Major work on the price object, Rules integration, and display formatter restructuring to prepare dynamic price caching and display.
  • 2010-09-21
    Initial development of a customer profile reference field (not working to embed a customer profile entity form yet).
  • 2010-09-21
    Only disable the display of product fields on referencing nodes if the field is not hidden and is not using the Add to Cart form display formatter.
  • 2010-09-20
    #913696: Add watchdog message when transaction is rolled back in error case by das-peter, rszrama: update transaction rollback code to conform to the rest of Drupal core and update API comments accordingly.
  • 2010-09-20
    #885470: Only display product fields on nodes with an Add to Cart form by Daemon_Byte: only embed product fields in node displays that use an Add to Cart form display formatter for the pertinent product reference field.
  • 2010-09-20
    Add createDummyProductNodeBatch for easy node creation
  • 2010-09-20
    Add creating dummy product nodes
  • 2010-09-20
    All commits since 0713719f0313526dd12f (5 commits ago) are tainted with a patch from rszrama. Oops.
  • 2010-09-20
    Add creating product display content types and adding product reference fields
  • 2010-09-20
    Move all testTest functions out of sandbox into CommerceBaseTester
  • 2010-09-20
    Clean up test sandbox
  • 2010-09-20
    Refactor testTest functions into their own functions
  • 2010-09-20
    Add CreateDummyProduct() function to base class
  • 2010-09-20
    Clean up dummy product type creation
  • 2010-09-20
    Add creation of dummy product types
  • 2010-09-20
    Refactor tests into commerce_base.test
  • 2010-09-20
    Add createStoreAdmin functionality
  • 2010-09-20
    First test added: testModulesEnabled. Abstracted site admin user creation.
  • 2010-09-20
    Fixed bug in setUp. Modules now enable properly from child test classes.
  • 2010-09-20
    First stab at CommerceBaseTestCase
  • 2010-09-19
    #891438: Standardize names of Views by rszrama: generalize the description of the cart line item summary View.
  • 2010-09-19
    made changes as per http://drupal.org/node/891438
  • 2010-09-19
    Changed the format of the foreign key specifications in hook_schema() implementations to match the new core standard.
  • 2010-09-15
    #912570: Uniquely identify the payment method with its Rule / Action by rszrama: identify payment methods on the checkout form by the method ID and the Rule used to enable them so the proper settings can be retrieved after selection.
  • 2010-09-09
    Ajaxify the payment method selection radios and add full support for redirected payment methods through the checkout pane.
  • 2010-09-09
    Remove the hidden uid field from the checkout form and add a div around the help message so it can be easily targeted via JS / CSS.
  • 2010-09-01
    Added an API function to recursively walk a form array and unrequire any required element.
  • 2010-09-01
    Make the cart form submit when a remove checkbox is clicked; still needs image replacement.
Created by: rszrama
Created on: 9 Oct 2010 at 07:14 UTC
Last updated: 1 Aug 2018 at 23:53 UTC
New features
Bug fixes
Insecure

Other releases