Hello,

Surely some error at my end. I am using Ecom. 6.x-4.0-rc10.
Other modules installed are : lm_paypal - All details configured in lm_paypal.

Following process is used:
Clicked on "Buy Now"
Lead to check out page - Address is filled and update order is clicked
Clicked on Place your order
This does nothing and simply leaves user to www.example.com/node. With a drupal message on top " YOUR ORDER HAS BEEN SUBMITTED"
No Email is received by buyer/seller.

I want it to lead to paypal site for payment
I want it to come back to site after sucessful/unsucessful payment on sucesspage or unsuccesspage.
The buyer and seller should get email notifications regarding the transaction.

Suggestion:
A simple list of all contrib modules available for EC4.0 should be placed on project page. The list can provide a link to modules' project page and also describe their features summary. I can do this for you if I you can provide a list of contrib modules for 6.x-4.x

Please help.

Thanks

Rugman

CommentFileSizeAuthor
#2 Modules Enabled.JPG122.76 KBRugman
#2 Modules Enabled Two.JPG111.81 KBRugman

Comments

gordon’s picture

Hi,

lm_paypal is not a e-Commerce module and doesn't actually do anything with paypal. You need to enable the e-Commerce PayPal module which comes with e-Commerce. This module actually implements more of the PayPal API than the lm_paypal module as it also implements the PayPal Express and PayPal Pro methods of payment as well.

Once you enable this module and configure it you will go off to paypal (depending on how you configure it).

The mail I have not yet implemented rules to send emails yet. I want to implement a disabled rule which shows you how to implement mail. The main reason that I haven't done this because I am not 100% happy with this, and would like to have the Mail Editor module handle this but I would need rules integration added and also integration with Chaos Tools to allow e-Commerce to provide default email templates a long with the rules for sending emails.

Here is a rule that you can import which will send a mail message on transaction completion to the customer.

array (
  'rules' => 
  array (
    'rules_11' => 
    array (
      '#type' => 'rule',
      '#set' => 'event_ec_store_event_transactions_save',
      '#label' => 'Mail customer on completed transaction',
      '#active' => 1,
      '#weight' => '0',
      '#status' => 'custom',
      '#conditions' => 
      array (
        0 => 
        array (
          '#weight' => 0,
          '#info' => 
          array (
            'label' => 'Transaction workflow status changed',
            'arguments' => 
            array (
              'txn' => 
              array (
                'type' => 'transaction',
                'label' => 'Transaction',
              ),
              'orig_txn' => 
              array (
                'type' => 'transaction',
                'label' => 'Transaction',
              ),
            ),
            'module' => 'Transaction',
          ),
          '#name' => 'ec_store_condition_workflow_status_changed',
          '#type' => 'condition',
        ),
        1 => 
        array (
          '#type' => 'condition',
          '#settings' => 
          array (
            'workflow' => 
            array (
              6 => '6',
            ),
          ),
          '#name' => 'ec_store_condition_workflow_status',
          '#info' => 
          array (
            'label' => 'Transaction workflow status',
            'arguments' => 
            array (
              'txn' => 
              array (
                'type' => 'transaction',
                'label' => 'Transaction',
              ),
            ),
            'module' => 'Transaction',
          ),
          '#weight' => 0,
        ),
      ),
      '#actions' => 
      array (
        0 => 
        array (
          '#weight' => 0,
          '#info' => 
          array (
            'label' => 'Send a mail to an arbitrary mail address',
            'module' => 'System',
            'eval input' => 
            array (
              0 => 'subject',
              1 => 'message',
              2 => 'from',
              3 => 'to',
            ),
          ),
          '#name' => 'rules_action_mail',
          '#settings' => 
          array (
            'to' => '[txn:txn-mail]',
            'from' => 'sales@heydon.com.au',
            'subject' => 'test',
            'message' => 'Transaction [txn:txn-id] was sent on date [txn:txn-order-date]

Thank you for your order',
            '#eval input' => 
            array (
              'token_rules_input_evaluator' => 
              array (
                'message' => 
                array (
                  0 => 'txn',
                ),
                'to' => 
                array (
                  0 => 'txn',
                ),
              ),
            ),
          ),
          '#type' => 'action',
        ),
      ),
    ),
  ),
  'rule_sets' => 
  array (
  ),
)
Rugman’s picture

StatusFileSize
new111.81 KB
new122.76 KB

Hello,

Thanks for the code.

The paypal module with ecommerce was already enabled. (As matter of fact, I always enable all modules of EC4 in recommended steps). (Module setting page Images attached)

It was when I could not step ahead from checkout, I tried to use lm_paypal.

I have now uninstalled the Lm_paypal module. The EC paypal module was always active even with LM_paypal.

Please note that nowhere I can locate the configurations for Paypal. I have check menus of site config., EC config and EC.

Edit *** Found Paypal settings in Receipts section of EC config page and now site is working well. - Sorry for troubling you.

Please help.

Rugman

PS : I have tried reporting bugs/requests to other module moderators, but I can sure say, you are one of the most active people on Drupal network. It is dedication of people like you that we are enjoying drupal. Thanks for your efforts.

gordon’s picture

I hope that fixed your issue with the paypal integration.

It has been a balancing act to make sure that when e-Commerce is installed (which most people like you just install everything) and being confronted by pages of settings which can be very disheartening.

This is also the reason why e-Commerce has had the number of modules reduced to only 13, which means that if someone installs them all, they would have most likely needed to install most of them anyway.

I have been guessing that if you installed what you really needed people would most likely install 11-12 modules most of the time and then maybe adding 1 or 2 contrib modules. basically a payment gateway and a shipping module.

Gordon.

Rugman’s picture

Hello,

Yes, Thank you very much.

There was no problem indeed, it just required more fiddling.

I would like to write a dummies guide for E-commerce under your guidance regarding details of available core and contrib modules and their functions. I would need a list of contrib modules (Core modules I can list myself). If you agree, I would send a draft writeup to you first.

Regards,

Rugman

gordon’s picture

Status: Active » Fixed

I am glad that that sorted it out for you.

Speaking of a book, I am considering setting up a site to build a collaborative communitity based book which anyone can contribute with the aim of being able to submit it to lulu.com to self publish.

If you are interested let me know and we can discuss this more, you can email me gordon@heydon.com.au

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.