Skip to content
Snippets Groups Projects
Commit b9b8fdae authored by ayduns's avatar ayduns Committed by mattwire
Browse files

Switch to APIv4 Managed Entity

parent eafbae58
No related branches found
No related tags found
Loading
Pipeline #1087 skipped
......@@ -6,23 +6,40 @@
* https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_managed/
*/
return [
0 => [
[
'name' => 'Stripe',
'entity' => 'PaymentProcessorType',
'cleanup' => 'unused',
'update' => 'unmodified',
'params' => [
'version' => 3,
'name' => 'Stripe',
'title' => 'Stripe',
'description' => 'Stripe Payment Processor',
'class_name' => 'Payment_Stripe',
'user_name_label' => 'Publishable key',
'password_label' => 'Secret Key',
'signature_label' => 'Webhook Secret',
'url_site_default' => 'http://unused.com',
'url_site_test_default' => 'http://unused.com',
'billing_mode' => 1,
'payment_type' => 1,
'is_recur' => 1,
'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',
],
],
],
];
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment