Skip to content
Snippets Groups Projects
stripe.mgd.php 1.33 KiB
Newer Older
  • Learn to ignore specific revisions
  • mattwire's avatar
    mattwire committed
    <?php
    
    /**
     * The record will be automatically inserted, updated, or deleted from the
     * database as appropriate. For more details, see "hook_civicrm_managed" at:
     * https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_managed/
     */
    return [
    
    mattwire's avatar
    mattwire committed
        'name' => 'Stripe',
        'entity' => 'PaymentProcessorType',
    
    ayduns's avatar
    ayduns committed
        'cleanup' => 'unused',
        'update' => 'unmodified',
    
    mattwire's avatar
    mattwire committed
        'params' => [
    
    ayduns's avatar
    ayduns committed
          'version' => 4,
          'values' => [
            'name' => 'Stripe',
            'title' => 'Stripe',
            'description' => 'Stripe Payment Processor',
            'is_active' => TRUE,
            'is_default' => FALSE,
            'user_name_label' => 'Publishable key',
            'password_label' => 'Secret Key',
            'signature_label' => 'Webhook Secret',
            'subject_label' => NULL,
            'class_name' => 'Payment_Stripe',
            'url_site_default' => 'http://unused.com',
            'url_api_default' => NULL,
            'url_recur_default' => NULL,
            'url_button_default' => NULL,
            'url_site_test_default' => 'http://unused.com',
            'url_api_test_default' => NULL,
            'url_recur_test_default' => NULL,
            'url_button_test_default' => NULL,
            'billing_mode' => 1,
            'is_recur' => TRUE,
            'payment_type' => 1,
            'payment_instrument_id:name' => 'Credit Card',
          ],
          'match' => [
            'name',
          ],
    
    mattwire's avatar
    mattwire committed
        ],
      ],
    ];