Hi!
We would like to ensure that all Commerce 2.x payment gateways have Ludwig integration, to ensure that they can be installed without Composer.
You can find out more about Ludwig from this blog post: https://drupalcommerce.org/blog/49669/installing-commerce-2x-without-com...
And you can find a sample Ludwig integration here: http://cgit.drupalcode.org/commerce_ingenico/commit/?id=364f5ea
Notes:
- If your SDK has a dependency of its own in its composer.json, you must list that in the ludwig.json file as well
- You do not need to list dependencies that are included in Drupal core (such as Symfony)
If you have any doubts, you can post a patch to this issue first, and then someone from the Commerce Guys team will review.
Thank you!
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add_ludwig_interaction--2892644-2.patch | 317 bytes | dom. |
Comments
Comment #2
dom. commentedPatch attached.
Comment #4
dom. commentedComment #5
bojanz commentedYou should also add a hook_requirements to your .install file like in the linked example.
That will prevent a crash for people who ignored all instructions and tried to install the module without the library.
Comment #6
dom. commentedThere is already a hook_requirements in the module. Does it miss something ?
http://cgit.drupalcode.org/commerce_payplug/tree/commerce_payplug.install
Comment #7
bojanz commentedSorry, I missed that because it wasn't in the commit.
Thank you for your efforts!
Comment #9
devad commented