Commerce Paypal IPN Rules integration
Categories
Component ID
1888926
Component name
Commerce Paypal IPN Rules integration
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
2238
Component created
Component changed
Component body
This module comes to give modular capabilities for Paypal IPN handling.
Combined with Drupal Commerce, Rules and the Paypal payment method, using this module you will be able to change your site workflow and logic.
As an example, while the "Commerce subscription products PayPal" integrates with the IPN to start/stop user subscription, but depends on specific user fields and content types, in this module you will be able to achieve the same, but for your own selected fields, content types, etc.
Current capabilities:
- Rules event: "Before user redirect to paypal for checkout" - gives a "Form" argument, to be used with the following action.
- Rules action: "Add subscription information" - using the form from the event, the developer can set the payment to be a subscription, by setting title, amount, and interval details.
- Rules event: "Process Paypal IPN" - gives all of the IPN details (and more). Combined with the following action.
- Rules action: "Clone order" - using the IPN details and the original order, can clone the order. In the specific example this was implemented for, a paypal order was set to be a subscription, and since then each payment would clone a new order.
Those modular capabilities can be combined in many different ways to make your site stronger and more dynamic.