Visión general
Miembro
- Miembro añadido
- Inscripción de miembros completada
- Información actualizada de la cuenta
- Miembro eliminado
- Miembro conectado
Suscripción
- Suscripción creada
- Suscripción interrumpida
- Reanudación de la suscripción
- Suscripción interrumpida
- Suscripción actualizada
- Suscripción rebajada
- Suscripción actualizada a no periódica
- Suscripción actualizada a recurrente
- Suscripción rebajada a no recurrente
- Suscripción rebajada a recurrente
- Suscripción caducada
Transacciones
- Transacción completada
- Transacción Reembolsada
- Transacción fallida
- Transacción caducada
- Transacción recurrente completada
- Transacción de renovación completada
- Transacción recurrente fallida
- Transacción recurrente caducada
- Transacción no periódica finalizada
- Transacción no periódica caducada
Recordatorios
- Tras el registro de los miembros
- Tras el abandono de la inscripción
- Antes de que caduque el abono
- Tras la expiración del abono
- Antes de renovar el abono
- Después de que caduque la tarjeta de crédito
- Antes de que caduque la tarjeta de crédito
Cursos
Miembro añadido
Descripción
Se envía cuando un nuevo afiliado se registra pero antes de que se acepten sus datos de pago.
Muestra de respuesta
{ "evento": "miembro-agregado", "tipo": "miembro", "datos": { "id": 56, "email": "zapier@test.com", "nombre de usuario": "zapiertest", "nicename": "zapiertest", "url": "", "message": "", "registered_at": "2019-04-18 16:47:14", "first_name": "zapier", "last_name": "test", "display_name": "zapiertest", "active_memberships": [ { "id": 15, "title": "Afiliación Oro", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "estado": "publicar", "autor": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": falso, "plan_code": "", "pricing_title": "Afiliación Oro", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 anual recurrente", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurrente anual", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". } ], "active_txn_count": "1", "expired_txn_count": "1", "trial_txn_count": null, "sub_count": null, "login_count": "1", "first_txn": { "membership": "15", "miembro": "56", "cupón": "0", "suscripción": "69", "id": "198", "importe": "0.00", "total": "0.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "cus_EuSIHGllVD3168", "status": "confirmed", "txn_type": "subscription_confirmation", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-18 16:47:14", "expires_at": "2019-04-18 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "latest_txn": { "membership": "15", "miembro": "56", "cupón": "0", "suscripción": "69", "id": "199", "importe": "100.00", "total": "100.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EQdOLJT1LHvX6ILZhIzeboJ", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-18 16:47:21", "expires_at": "2019-05-18 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "address": { "mepr-dirección-uno": "123 fake st", "mepr-dirección-dos": "", "mepr-dirección-ciudad": "city", "mepr-dirección-estado": "UT", "mepr-address-zip": "81111", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "MemberPress", "mepr_birthday": "2019-04-18", "mepr_testslug": "" }, "recent_transactions": [ { "afiliación": "15", "miembro": "56", "cupón": "0", "suscripción": "69", "id": "199", "importe": "100.00", "total": "100.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EQdOLJT1LHvX6ILZhIzeboJ", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-18 16:47:21", "expires_at": "2019-05-18 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, { "membership": "15", "miembro": "56", "cupón": "0", "suscripción": "69", "id": "198", "importe": "0.00", "total": "0.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "cus_EuSIHGllVD3168", "status": "confirmed", "txn_type": "subscription_confirmation", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-18 16:47:14", "expires_at": "2019-04-18 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null } ], "suscripciones_recientes": [ { "cupón": "0", "suscripción": "15", "miembro": "56", "id": "69", "subscr_id": "cus_EuSIHGllVD3168", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "juicio": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-04-18 16:47:19", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } ] } }
Inscripción de miembros completada
Descripción
Enviado cuando un nuevo miembro completa el registro y su pago es aceptado.
Muestra de respuesta
{ "evento": "member-signup-completed", "tipo": "miembro", "data": { "id": 46, "email": "zapier@test.com", "nombre de usuario": "zapier@test.com", "nicename": "zapiertest-com", "url": "", "message": "", "registered_at": "2019-03-19 16:48:20", "first_name": "Zapier", "last_name": "test", "display_name": "zapier@test.com", "active_memberships": [ { "id": 15, "title": "Afiliación Oro", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "estado": "publicar", "autor": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-03-14 13:10:21", "modified_gmt": "2019-03-14 19:10:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": falso, "plan_code": "", "pricing_title": "Afiliación Oro", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "Pricing", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "Esto es una prueba", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-03-14", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". }, { "id": 15, "title": "Afiliación Oro", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "estado": "publicar", "autor": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-03-14 13:10:21", "modified_gmt": "2019-03-14 19:10:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": falso, "plan_code": "", "pricing_title": "Afiliación Oro", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "Pricing", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "Esto es una prueba", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-03-14", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". } ], "active_txn_count": "2", "expired_txn_count": "0", "trial_txn_count": null, "sub_count": null, "login_count": "1", "first_txn": { "membership": "15", "miembro": "46", "cupón": "0", "suscripción": "59", "id": "166", "importe": "0.00", "total": "0.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "cus_EjDYhKuKyRY5N2", "status": "confirmed", "txn_type": "subscription_confirmation", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-03-19 16:48:21", "expires_at": "2019-03-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "latest_txn": { "membership": "15", "miembro": "46", "cupón": "0", "suscripción": "59", "id": "167", "importe": "100.00", "total": "100.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EFl6yJT1LHvX6IL95fhb7M4", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-03-19 16:48:28", "expires_at": "2019-04-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "address": { "mepr-dirección-uno": "123 fake st", "mepr-dirección-dos": "", "mepr-dirección-ciudad": "city", "mepr-dirección-estado": "UT", "mepr-address-zip": "81111", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "Zapier test", "mepr_birthday": "2019-03-19", "mepr_testslug": "" }, "recent_transactions": [ { "afiliación": "15", "miembro": "46", "cupón": "0", "suscripción": "59", "id": "167", "importe": "100.00", "total": "100.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EFl6yJT1LHvX6IL95fhb7M4", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-03-19 16:48:28", "expires_at": "2019-04-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, { "membership": "15", "miembro": "46", "cupón": "0", "suscripción": "59", "id": "166", "importe": "0.00", "total": "0.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "cus_EjDYhKuKyRY5N2", "status": "confirmed", "txn_type": "subscription_confirmation", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-03-19 16:48:21", "expires_at": "2019-03-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null } ], "suscripciones_recientes": [ { "cupón": "0", "suscripción": "15", "miembro": "46", "id": "59", "subscr_id": "cus_EjDYhKuKyRY5N2", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "juicio": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-03-19 16:48:25", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } ] } }
Información actualizada de la cuenta
Descripción
Enviado cuando un miembro actualiza la información de su cuenta.
Muestra de respuesta
{ "evento": "member-account-updated", "tipo": "member", "data": { "id": 49, "email": "coupon@testing2.com", "nombre de usuario": "coupon@testing2.com", "nicename": "coupontesting2-com", "url": "", "message": "", "registered_at": "2019-04-03 17:33:06", "first_name": "cupón", "last_name": "testing2", "display_name": "cupón testing2", "active_memberships": [ { "id": 267, "title": "prueba de cupones", "content": "", "excerpt": "", "date": "2019-04-03 11:18:41", "estado": "publicar", "autor": "5", "date_gmt": "2019-04-03 17:18:41", "modified": "2019-04-04 10:58:44", "modified_gmt": "2019-04-04 16:58:44", "group": "0", "price": "9.99", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": "1", "trial_days": "90", "trial_amount": "29.94", "trial_once": "1", "group_order": "0", "is_highlighted": falso, "plan_code": "", "pricing_title": "cupón de prueba", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-04", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". } ], "active_txn_count": "1", "expired_txn_count": "0", "trial_txn_count": null, "sub_count": null, "login_count": "1", "first_txn": { "afiliación": "267", "miembro": "49", "cupón": "0", "suscripción": "62", "id": "178", "importe": "29.94", "total": "29.94", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ELCxmJT1LHvX6ILZSGECdgo", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-03 17:33:07", "expires_at": "2019-07-02 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "latest_txn": { "afiliación": "267", "miembro": "49", "cupón": "0", "suscripción": "62", "id": "178", "importe": "29.94", "total": "29.94", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ELCxmJT1LHvX6ILZSGECdgo", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-03 17:33:07", "expires_at": "2019-07-02 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "address": { "mepr-dirección-uno": "123 fake st", "mepr-dirección-dos": "", "mepr-dirección-ciudad": "city", "mepr-dirección-estado": "UT", "mepr-address-zip": "81111", "mepr-address-country": "US" }, "profile": { "mepr_nombre_empresa": "blah", "mepr_birthday": "2019-04-03", "mepr_testslug": "" }, "recent_transactions": [ { "afiliación": "267", "miembro": "49", "cupón": "0", "suscripción": "62", "id": "178", "importe": "29.94", "total": "29.94", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ELCxmJT1LHvX6ILZSGECdgo", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-03 17:33:07", "expires_at": "2019-07-02 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null } ], "suscripciones_recientes": [ { "cupón": "0", "membresía": "267", "miembro": "49", "id": "62", "subscr_id": "cus_EoqfMhbLzIxdXZ", "gateway": "peum51-1tc", "price": "9.99", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "juicio": "1", "trial_days": "90", "importe_prueba": "29.94", "status": "active", "created_at": "2019-04-03 17:33:31", "total": "9.99", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } ] } }
Miembro eliminado
Descripción
Se envía cuando se elimina un miembro del sistema.
Muestra de respuesta
{ "evento": "miembro-eliminado", "tipo": "miembro", "datos": { "id": null "email": null, "nombre de usuario": null, "nicename": null, "url": null "message": null, "registered_at": null, "first_name": null, "last_name": null, "display_name": null, "active_memberships": [], "active_txn_count": "0", "expired_txn_count": "2", "trial_txn_count": null, "sub_count": null, "login_count": "0", "first_txn": { "afiliación": "187", "miembro": "0", "cupón": "0", "suscripción": "0", "id": "80", "importe": "25.00", "total": "25.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1DofUJJT1LHvX6ILMJpFFPBR", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-01-03 23:20:15", "expires_at": "2019-01-01 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "latest_txn": { "afiliación": "187", "miembro": "0", "cupón": "0", "suscripción": "0", "id": "81", "importe": "25.00", "total": "25.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1DofiBJT1LHvX6ILVSQdUD4q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-01-03 23:34:36", "expires_at": "2019-01-31 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "address": { "mepr-dirección-uno": "", "mepr-dirección-dos": "", "mepr-dirección-ciudad": "", "mepr-dirección-estado": "", "mepr-dirección-código postal": "", "mepr-dirección-país": "" }, "profile": { "mepr_nombre_empresa": false, "mepr_birthday": false, "mepr_testslug": false }, "recent_transactions": [ { "membership": "187", "miembro": "0", "cupón": "0", "suscripción": "0", "id": "81", "importe": "25.00", "total": "25.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1DofiBJT1LHvX6ILVSQdUD4q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-01-03 23:34:36", "expires_at": "2019-01-31 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, { "membership": "187", "miembro": "0", "cupón": "0", "suscripción": "0", "id": "80", "importe": "25.00", "total": "25.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1DofUJJT1LHvX6ILMJpFFPBR", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-01-03 23:20:15", "expires_at": "2019-01-01 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, { "membership": "29", "miembro": "0", "cupón": "0", "suscripción": "14", "id": "36", "importe": "100.00", "total": "100.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "mp-txn-5be36b50d3ba3", "status": "pending", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2018-11-07 22:46:40", "expires_at": "2019-11-07 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null } ], "suscripciones_recientes": [ { "cupón": "0", "suscripción": "29", "miembro": "0", "id": "14", "subscr_id": "mp-sub-5be36b50ddb45", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "years", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "juicio": "0", "trial_days": "0", "trial_amount": "0.00", "estado": "pending", "created_at": "2018-11-07 22:46:40", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "", "cc_exp_month": "", "cc_exp_year": "", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } ] } }
Miembro conectado
Descripción
Se envía cuando cualquier miembro se conecta.
Muestra de respuesta
{ "evento": "login", "tipo": "miembro", "datos": { "id": 56, "email": "zapier@test.com", "nombre de usuario": "zapiertest", "nicename": "zapiertest", "url": "", "message": "", "registered_at": "2019-04-18 16:47:14", "first_name": "zapier", "last_name": "test", "display_name": "zapiertest", "active_memberships": [ { "id": 15, "title": "Afiliación Oro", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "estado": "publicar", "autor": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": falso, "plan_code": "", "pricing_title": "Afiliación Oro", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 anual recurrente", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurrente anual", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". } ], "active_txn_count": "1", "expired_txn_count": "1", "trial_txn_count": null, "sub_count": null, "login_count": "1", "first_txn": { "membership": "15", "miembro": "56", "cupón": "0", "suscripción": "69", "id": "198", "importe": "0.00", "total": "0.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "cus_EuSIHGllVD3168", "status": "confirmed", "txn_type": "subscription_confirmation", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-18 16:47:14", "expires_at": "2019-04-18 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "latest_txn": { "membership": "15", "miembro": "56", "cupón": "0", "suscripción": "69", "id": "199", "importe": "100.00", "total": "100.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EQdOLJT1LHvX6ILZhIzeboJ", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-18 16:47:21", "expires_at": "2019-05-18 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, "address": { "mepr-dirección-uno": "123 fake st", "mepr-dirección-dos": "", "mepr-dirección-ciudad": "city", "mepr-dirección-estado": "UT", "mepr-address-zip": "81111", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "MemberPress", "mepr_birthday": "2019-04-18", "mepr_testslug": "" }, "recent_transactions": [ { "afiliación": "15", "miembro": "56", "cupón": "0", "suscripción": "69", "id": "199", "importe": "100.00", "total": "100.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EQdOLJT1LHvX6ILZhIzeboJ", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-18 16:47:21", "expires_at": "2019-05-18 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null }, { "membership": "15", "miembro": "56", "cupón": "0", "suscripción": "69", "id": "198", "importe": "0.00", "total": "0.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "cus_EuSIHGllVD3168", "status": "confirmed", "txn_type": "subscription_confirmation", "gateway": "peum51-1tc", "prorrateado": "0", "created_at": "2019-04-18 16:47:14", "expires_at": "2019-04-18 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null } ], "suscripciones_recientes": [ { "cupón": "0", "suscripción": "15", "miembro": "56", "id": "69", "subscr_id": "cus_EuSIHGllVD3168", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "juicio": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-04-18 16:47:19", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } ] } }
Suscripción creada
Descripción
Se envía cuando se crea una suscripción.
Muestra de respuesta
{ "evento": "suscripción-creada", "tipo": "suscripción", "datos": { "cupón": false "membresía": { "id": 15, "title": "Membresía Oro", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "estado": "publicar", "autor": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": falso, "plan_code": "", "pricing_title": "Afiliación Oro", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 anual recurrente", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurrente anual", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". }, "member": { "id": 56, "email": "zapier@test.com", "nombre de usuario": "zapiertest", "nicename": "zapiertest", "url": "", "message": "", "registered_at": "2019-04-18 16:47:14", "first_name": "zapier", "last_name": "test", "display_name": "zapiertest" }, "id": "69", "subscr_id": "cus_EuSIHGllVD3168", "gateway": { "name": "Stripe", "label": "Mi pasarela Stripe", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/cards.png", "use_icon": true, "desc": "Paga con tu tarjeta de crédito a través de Stripe", "use_desc": true, "id": "peum51-1tc", "has_spc_form": true, "settings": { "gateway": "MeprStripeGateway", "id": "peum51-1tc", "label": "Mi pasarela Stripe", "use_label": true, "use_icon": true, "use_desc": true, "email": "", "sandbox": false, "force_ssl": false, "debug": false, "test_mode": "on", "use_stripe_checkout": false, "churn_buster_enabled": false, "churn_buster_uuid": "", "api_keys": { "test": { "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "live": { "public": "", "secret": "" } }, "saved": "1", "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "clave_secreta": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "capabilities": [ "procesar-tarjetas-de-crédito", "procesar-pagos", "procesar-reembolsos", "crear-suscripciones", "cancelar-suscripciones", "actualizar-suscripciones", "suspender-suscripciones", "reanudar-suscripciones", "enviar-cc-expiraciones" ] }, "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "juicio": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-04-18 16:47:19", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Suscripción interrumpida
Descripción
Se envía cuando se pone en pausa una suscripción.
Muestra de respuesta
{ "evento": "suscripción-pausada", "tipo": "suscripción", "datos": { "cupón": { "id": 197, "coupon_code": "M5TGWIKIYU", "date": "2019-01-10 15:38:04", "status": "publish", "autor": "5", "date_gmt": "2019-01-10 22:38:04", "modified": "2019-02-05 10:18:06", "modified_gmt": "2019-02-05 17:18:06", "valid_memberships": [ "196" ], "should_expire": false, "expires_on": "0", "usage_count": "3", "usage_amount": "0", "discount_type": "percent", "discount_amount": "20", "discount_mode": "trial-override", "trial_days": "2", "trial_amount": "0.00" }, "membership": { "id": 196, "title": "prueba de cupón", "content": "", "excerpt": "", "date": "2019-01-10 15:36:20", "status": "publicar", "autor": "5", "date_gmt": "2019-01-10 22:36:20", "modified": "2019-02-19 12:15:59", "modified_gmt": "2019-02-19 19:15:59", "group": "0", "price": "100.00", "period": "1", "period_type": "years", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": "1", "trial_days": "14", "trial_amount": "0.00", "trial_once": "1", "group_order": "0", "is_highlighted": falso, "plan_code": "", "pricing_title": "cupón de prueba", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-02-19", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". }, "member": { "id": 36, "email": "coupon@trial.com", "nombre de usuario": "coupontrial", "nicename": "coupontrial", "url": "", "message": "", "registered_at": "2019-01-10 22:39:32", "first_name": "", "last_name": "", "display_name": "coupontrial" }, "id": "32", "subscr_id": "cus_EJprCdOvRzjvZq", "gateway": { "name": "Stripe", "label": "Mi pasarela Stripe", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/cards.png", "use_icon": true, "desc": "Paga con tu tarjeta de crédito a través de Stripe", "use_desc": true, "id": "peum51-1tc", "has_spc_form": true, "settings": { "gateway": "MeprStripeGateway", "id": "peum51-1tc", "label": "Mi pasarela Stripe", "use_label": true, "use_icon": true, "use_desc": true, "email": "", "sandbox": false, "force_ssl": false, "debug": false, "test_mode": "on", "use_stripe_checkout": false, "churn_buster_enabled": false, "churn_buster_uuid": "", "api_keys": { "test": { "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "live": { "public": "", "secret": "" } }, "saved": "1", "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "clave_secreta": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "capabilities": [ "procesar-tarjetas-de-crédito", "procesar-pagos", "procesar-reembolsos", "crear-suscripciones", "cancelar-suscripciones", "actualizar-suscripciones", "suspender-suscripciones", "reanudar-suscripciones", "enviar-cc-expiraciones" ] }, "price": "80.00", "period": "1", "period_type": "years", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "juicio": "1", "trial_days": "14", "trial_amount": "0.00", "status": "active", "created_at": "2019-01-10 22:40:03", "total": "80.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "32-yourdomain.com-5c59c54c8e755", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Reanudación de la suscripción
Descripción
Se envía cuando se reanuda una suscripción.
Muestra de respuesta
{ "evento": "suscripción-reanudada", "tipo": "suscripción", "datos": { "cupón": falso "membership": falso, "miembro": 0, "id": 0, "subscr_id": "mp-sub-5cbf49bc32f6b", "gateway": { "name": "Manual", "label": "Manual", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/offline.png", "use_icon": true, "desc": "", "use_desc": true, "id": "manual", "has_spc_form": null, "settings": {}, "capabilities": [] }, "price": 0, "period": 1, "period_type": "months", "limit_cycles": falso, "limit_cycles_num": 0, "limit_cycles_action": null, "juicio_prorrateado": false, "trial": false "trial_days": 0, "trial_amount": 0, "estado": "pendiente", "created_at": null, "total": 0 "tax_rate": 0, "tax_amount": 0, "tax_desc": "", "tax_class": "standard", "cc_last4": null, "cc_exp_month": null, "cc_exp_year": null, "token": null } }
Suscripción interrumpida
Descripción
Se envía cuando se cancela una suscripción.
Muestra de respuesta
{ "evento": "suscripción-parada", "tipo": "suscripción", "data": { "cupón": falso "membership": falso, "miembro": 0, "id": 0, "subscr_id": "mp-sub-5cbf49f34eb28", "gateway": { "name": "Manual", "label": "Manual", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/offline.png", "use_icon": true, "desc": "", "use_desc": true, "id": "manual", "has_spc_form": null, "settings": {}, "capabilities": [] }, "price": 0, "period": 1, "period_type": "months", "limit_cycles": falso, "limit_cycles_num": 0, "limit_cycles_action": null, "juicio_prorrateado": false, "trial": false "trial_days": 0, "trial_amount": 0, "estado": "pendiente", "created_at": null, "total": 0 "tax_rate": 0, "tax_amount": 0, "tax_desc": "", "tax_class": "standard", "cc_last4": null, "cc_exp_month": null, "cc_exp_year": null, "token": null } }
Suscripción actualizada
Descripción
SUPRIMIDO - En su lugar, utilice Suscripción actualizada a (recurrente | no recurrente).
Muestra de respuesta
{ "evento": "subscription-upgraded", "tipo": "suscripción", "datos": { "cupón": false "membresía": { "id": 247, "title": "274 anuales", "content": "", "excerpt": "", "date": "2019-03-04 15:47:14", "estado": "publicar", "autor": "5", "date_gmt": "2019-03-04 22:47:14", "modified": "2019-03-04 15:47:14", "modified_gmt": "2019-03-04 22:47:14", "group": "248", "price": "274.00", "period": "1", "period_type": "years", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "1", "is_highlighted": falso, "plan_code": "", "pricing_title": "274 anuales", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-03-04", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". }, "member": { "id": 44, "email": "264@test.com", "nombre de usuario": "264@test.com", "nicename": "264test-com", "url": "", "message": "", "registered_at": "2019-03-04 22:48:48", "first_name": "", "last_name": "", "display_name": "264@test.com" }, "id": "55", "subscr_id": "cus_Edh0OEAyG94pBP", "gateway": { "name": "Stripe", "label": "Mi pasarela Stripe", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/cards.png", "use_icon": true, "desc": "Paga con tu tarjeta de crédito a través de Stripe", "use_desc": true, "id": "peum51-1tc", "has_spc_form": true, "settings": { "gateway": "MeprStripeGateway", "id": "peum51-1tc", "label": "Mi pasarela Stripe", "use_label": true, "use_icon": true, "use_desc": true, "email": "", "sandbox": false, "force_ssl": false, "debug": false, "test_mode": "on", "use_stripe_checkout": false, "churn_buster_enabled": false, "churn_buster_uuid": "", "api_keys": { "test": { "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "live": { "public": "", "secret": "" } }, "saved": "1", "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "clave_secreta": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "capabilities": [ "procesar-tarjetas-de-crédito", "procesar-pagos", "procesar-reembolsos", "crear-suscripciones", "cancelar-suscripciones", "actualizar-suscripciones", "suspender-suscripciones", "reanudar-suscripciones", "enviar-cc-expiraciones" ] }, "price": "274.00", "period": "1", "period_type": "years", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "1", "juicio": "1", "trial_days": "7", "trial_amount": "1.00", "status": "active", "created_at": "2019-03-04 22:51:12", "total": "274,00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Suscripción rebajada
Descripción
DEGRADADA - Utilice Suscripción degradada a (Recurrente | No recurrente) en su lugar.
Muestra de respuesta
{ "evento": "subscription-downgraded", "tipo": "suscripción", "datos": { "cupón": false "membresía": { "id": 13, "title": "Afiliación Bronce", "content": "", "excerpt": "", "date": "2018-08-30 16:08:50", "estado": "publicar", "autor": "2", "date_gmt": "2018-08-30 16:08:50", "modified": "2019-01-14 13:49:13", "modified_gmt": "2019-01-14 20:49:13", "group": "17", "price": "0.00", "period": "1", "period_type": "lifetime", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "0", "is_highlighted": falso, "plan_code": "", "pricing_title": "Afiliación Bronce", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-01-14", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". }, "member": { "id": 30, "email": "downgrade@email.com", "nombre de usuario": "downgrade@email.com", "nicename": "downgradeemail-com", "url": "", "message": "", "registered_at": "2018-12-28 17:51:46", "first_name": "downgrade", "last_name": "downgrade", "display_name": "downgrade@email.com" }, "id": "71", "amount": "0.00", "total": "0.00", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "mp-txn-5c2663104e471", "status": "complete", "txn_type": "payment", "gateway": { "name": "Gratis", "label": "Gratis", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/offline.png", "use_icon": true, "desc": "", "use_desc": true, "id": "free", "has_spc_form": null, "settings": {}, "capabilities": [] }, "prorrateado": "1", "created_at": "2018-12-28 17:53:18", "expires_at": "0000-00-00 00:00:00", "subscription_id": "0", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Suscripción actualizada a no periódica
Descripción
Se envía cuando un usuario actualiza su Suscripción y la nueva Suscripción no es periódica (pago único).
Muestra de respuesta
{ "evento": "suscripción-actualizada-a-una-vez", "tipo": "transacción", "datos": { "afiliación": { "id": 16, "title": "Afiliación Platino", "content": "", "excerpt": "", "date": "2018-08-30 16:10:44", "estado": "publicar", "autor": "2", "date_gmt": "2018-08-30 16:10:44", "modified": "2018-11-29 10:04:26", "modified_gmt": "2018-11-29 17:04:26", "group": "17", "price": "2600.00", "period": "1", "period_type": "lifetime", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "3", "is_highlighted": falso, "plan_code": "", "pricing_title": "Afiliación Platino", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2018-11-29", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". }, "member": { "id": 5, "email": "zapier@test.com", "nombre de usuario": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-dirección-dos": "", "mepr-dirección-ciudad": "lehi", "mepr-dirección-estado": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": "0", "id": "26", "importe": "2590.83", "total": "2590,83", "importe_impuesto": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1DMLSfJT1LHvX6ILAUpQUAe0", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorrateado": "1", "created_at": "2018-10-17 20:17:14", "expires_at": "0000-00-00 00:00:00", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "refacturación": false, "subscription_payment_index": false, "commissions": [] } }
Suscripción actualizada a recurrente
Descripción
Enviado cuando un usuario actualiza su Suscripción y la nueva Suscripción es auto-recurrente (los pagos ocurren automáticamente cada ciclo de pago).
Muestra de respuesta
{ "evento": "subscription-upgraded-to-recurring", "tipo": "suscripción", "datos": { "cupón": false "membresía": { "id": 247, "title": "274 anuales", "content": "", "excerpt": "", "date": "2019-03-04 15:47:14", "estado": "publicar", "autor": "5", "date_gmt": "2019-03-04 22:47:14", "modified": "2019-03-04 15:47:14", "modified_gmt": "2019-03-04 22:47:14", "group": "248", "price": "274.00", "period": "1", "period_type": "years", "signup_button_text": "Sign Up", "limit_cycles": falso, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "1", "is_highlighted": falso, "plan_code": "", "pricing_title": "274 anuales", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Regístrate", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-03-04", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "No tienes acceso para comprar este artículo". }, "member": { "id": 44, "email": "264@test.com", "nombre de usuario": "264@test.com", "nicename": "264test-com", "url": "", "message": "", "registered_at": "2019-03-04 22:48:48", "first_name": "", "last_name": "", "display_name": "264@test.com" }, "id": "55", "subscr_id": "cus_Edh0OEAyG94pBP", "gateway": { "name": "Stripe", "label": "Mi pasarela Stripe", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/cards.png", "use_icon": true, "desc": "Paga con tu tarjeta de crédito a través de Stripe", "use_desc": true, "id": "peum51-1tc", "has_spc_form": true, "settings": { "gateway": "MeprStripeGateway", "id": "peum51-1tc", "label": "Mi pasarela Stripe", "use_label": true, "use_icon": true, "use_desc": true, "email": "", "sandbox": false, "force_ssl": false, "debug": false, "test_mode": "on", "use_stripe_checkout": false, "churn_buster_enabled": false, "churn_buster_uuid": "", "api_keys": { "test": { "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "live": { "public": "", "secret": "" } }, "saved": "1", "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "clave_secreta": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "capabilities": [ "procesar-tarjetas-de-crédito", "procesar-pagos", "process-refunds", "crear-suscripciones", "cancelar-suscripciones", "actualizar-suscripciones", "suspender-suscripciones", "reanudar-suscripciones", "enviar-cc-expiraciones" ] }, "price": "274.00", "period": "1", "period_type": "years", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "1", "juicio": "1", "trial_days": "7", "trial_amount": "1.00", "status": "active", "created_at": "2019-03-04 22:51:12", "total": "274,00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Suscripción rebajada a no recurrente
Descripción
Sent when a user downgrades their Subscription and the new Subscription is non-recurring (one-time payment).
Muestra de respuesta
{ "event": "subscription-downgraded-to-one-time", "type": "transaction", "data": { "membership": { "id": 13, "title": "Bronze Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:08:50", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:08:50", "modified": "2019-01-14 13:49:13", "modified_gmt": "2019-01-14 20:49:13", "group": "17", "price": "0.00", "period": "1", "period_type": "lifetime", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "0", "is_highlighted": false, "plan_code": "", "pricing_title": "Bronze Membership", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-01-14", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 30, "email": "downgrade@email.com", "username": "downgrade@email.com", "nicename": "downgradeemail-com", "url": "", "message": "", "registered_at": "2018-12-28 17:51:46", "first_name": "downgrade", "last_name": "downgrade", "display_name": "downgrade@email.com", "address": { "mepr-address-one": "123 fake st", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "", "mepr_testslug": "" } }, "coupon": "0", "subscription": "0", "id": "71", "amount": "0.00", "total": "0.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "mp-txn-5c2663104e471", "status": "complete", "txn_type": "payment", "gateway": "free", "prorated": "1", "created_at": "2018-12-28 17:53:18", "expires_at": "0000-00-00 00:00:00", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": false, "subscription_payment_index": false } }
Suscripción rebajada a recurrente
Descripción
Sent when a user downgrades their Subscription and the new Subscription is auto-recurring (payments happen automatically each payment cycle).
Muestra de respuesta
{ "event": "subscription-downgraded-to-recurring", "type": "subscription", "data": { "coupon": false, "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", }, "id": "12", "subscr_id": "cus_DrJ5MoBA4aJi27", "gateway": { "name": "Stripe", "label": "My Stripe gateway", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/cards.png", "use_icon": true, "desc": "Pay with your credit card via Stripe", "use_desc": true, "id": "peum51-1tc", "has_spc_form": true, "settings": { "gateway": "MeprStripeGateway", "id": "peum51-1tc", "label": "My Stripe gateway", "use_label": true, "use_icon": true, "use_desc": true, "email": "", "sandbox": false, "force_ssl": false, "debug": false, "test_mode": "on", "use_stripe_checkout": false, "churn_buster_enabled": false, "churn_buster_uuid": "", "api_keys": { "test": { "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "live": { "public": "", "secret": "" } }, "saved": "1", "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "capabilities": [ "process-credit-cards", "process-payments", "process-refunds", "create-subscriptions", "cancel-subscriptions", "update-subscriptions", "suspend-subscriptions", "resume-subscriptions", "send-cc-expirations" ] }, "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "1", "trial": "1", "trial_days": "31", "trial_amount": "0.00", "status": "cancelled", "created_at": "2018-10-26 18:56:20", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Suscripción caducada
Descripción
Se envía cuando caduca una suscripción.
Muestra de respuesta
{ "event": "subscription-expired", "type": "subscription", "data": { "coupon": false, "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", }, "id": "58", "subscr_id": "cus_EhmAfr0Y1tbHSL", "gateway": { "name": "Stripe", "label": "My Stripe gateway", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/cards.png", "use_icon": true, "desc": "Pay with your credit card via Stripe", "use_desc": true, "id": "peum51-1tc", "has_spc_form": true, "settings": { "gateway": "MeprStripeGateway", "id": "peum51-1tc", "label": "My Stripe gateway", "use_label": true, "use_icon": true, "use_desc": true, "email": "", "sandbox": false, "force_ssl": false, "debug": false, "test_mode": "on", "use_stripe_checkout": false, "churn_buster_enabled": false, "churn_buster_uuid": "", "api_keys": { "test": { "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "live": { "public": "", "secret": "" } }, "saved": "1", "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "capabilities": [ "process-credit-cards", "process-payments", "process-refunds", "create-subscriptions", "cancel-subscriptions", "update-subscriptions", "suspend-subscriptions", "resume-subscriptions", "send-cc-expirations" ] }, "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "cancelled", "created_at": "2019-03-15 20:26:28", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Transacción completada
Descripción
Sent when a transaction has completed in MemberPress.
Muestra de respuesta
{ "event": "transaction-completed", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-03-14 13:10:21", "modified_gmt": "2019-03-14 19:10:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "Pricing", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "This is a test", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-03-14", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 46, "email": "zapier@test.com", "username": "zapier@test.com", "nicename": "zapiertest-com", "url": "", "message": "", "registered_at": "2019-03-19 16:48:20", "first_name": "Zapier", "last_name": "test", "display_name": "zapier@test.com", "address": { "mepr-address-one": "123 fake st", "mepr-address-two": "", "mepr-address-city": "city", "mepr-address-state": "UT", "mepr-address-zip": "81111", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "Zapier test", "mepr_birthday": "2019-03-19", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "46", "id": "59", "subscr_id": "cus_EjDYhKuKyRY5N2", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-03-19 16:48:25", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "167", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EFl6yJT1LHvX6IL95fhb7M4", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-03-19 16:48:28", "expires_at": "2019-04-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": false, "subscription_payment_index": 1, "commissions": [] } }
Transacción Reembolsada
Descripción
Se envía cuando se reembolsa una transacción.
Muestra de respuesta
{ "event": "transaction-refunded", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-03-14 13:10:21", "modified_gmt": "2019-03-14 19:10:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "Pricing", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "This is a test", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-03-14", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 46, "email": "zapier@test.com", "username": "zapier@test.com", "nicename": "zapiertest-com", "url": "", "message": "", "registered_at": "2019-03-19 16:48:20", "first_name": "Zapier", "last_name": "test", "display_name": "zapier@test.com", "address": { "mepr-address-one": "123 fake st", "mepr-address-two": "", "mepr-address-city": "city", "mepr-address-state": "UT", "mepr-address-zip": "81111", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "Zapier test", "mepr_birthday": "2019-03-19", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "46", "id": "59", "subscr_id": "cus_EjDYhKuKyRY5N2", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-03-19 16:48:25", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "167", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EFl6yJT1LHvX6IL95fhb7M4", "status": "refunded", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-03-19 16:48:28", "expires_at": "2019-04-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": false, "subscription_payment_index": 1, "commissions": [] } }
Transacción fallida
Descripción
Se envía cuando falla alguna transacción.
Muestra de respuesta
{ "event": "transaction-failed", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "46", "subscr_id": "cus_EYoeMWfkPS0bOA", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-02-19 22:24:53", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "11", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "201", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ER69hJT1LHvX6ILF05DBg0q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-19 23:30:08", "expires_at": "2019-05-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": true, "subscription_payment_index": 3, "commissions": [] } }
Transacción caducada
Descripción
Enviado cuando cualquier transacción expira.
Muestra de respuesta
{ "event": "transaction-expired", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "58", "subscr_id": "cus_EhmAfr0Y1tbHSL", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "cancelled", "created_at": "2019-03-15 20:26:28", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "165", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EEMbnJT1LHvX6ILQovJh8vj", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-03-15 20:26:30", "expires_at": "2019-04-15 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": false, "subscription_payment_index": 1, "commissions": [] } }
Transacción recurrente completada
Descripción
Sent when a transaction associated with a recurring subscription completes.
Muestra de respuesta
{ "event": "recurring-transaction-completed", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "46", "subscr_id": "cus_EYoeMWfkPS0bOA", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-02-19 22:24:53", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "11", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "201", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ER69hJT1LHvX6ILF05DBg0q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-19 23:30:08", "expires_at": "2019-05-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": true, "subscription_payment_index": 3, "commissions": [] } }
Transacción de renovación completada
Descripción
Sent when the 2nd+ transaction associated with a recurring subscription completes. This does not fire for the first transaction in a recurring subscription, only the 2nd or later payments will trigger this event.
Muestra de respuesta
{ "event": "renewal-transaction-completed", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "46", "subscr_id": "cus_EYoeMWfkPS0bOA", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-02-19 22:24:53", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "11", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "201", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ER69hJT1LHvX6ILF05DBg0q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-19 23:30:08", "expires_at": "2019-05-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": true, "subscription_payment_index": 3, "commissions": [] } }
Transacción recurrente fallida
Descripción
Sent when a recurring transaction completes. Because recurring transactions typically involve a 3rd party gateway it's good to know when a payment has failed on the gateway's end.
Muestra de respuesta
{ "event": "recurring-transaction-failed", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "46", "subscr_id": "cus_EYoeMWfkPS0bOA", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-02-19 22:24:53", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "11", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "201", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ER69hJT1LHvX6ILF05DBg0q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-19 23:30:08", "expires_at": "2019-05-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": true, "subscription_payment_index": 3, "commissions": [] } }
Transacción recurrente caducada
Descripción
Sent when any transaction associated with a subscription expires. This event will not indicate that a recurring subscription is expiring, just that a transaction associated with it is expiring. If you're looking through a subscription expiration event, try ‘subscription-expired'.
Muestra de respuesta
{ "event": "recurring-transaction-expired", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "58", "subscr_id": "cus_EhmAfr0Y1tbHSL", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "cancelled", "created_at": "2019-03-15 20:26:28", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "165", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EEMbnJT1LHvX6ILQovJh8vj", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-03-15 20:26:30", "expires_at": "2019-04-15 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": false, "subscription_payment_index": 1, "commissions": [] } }
Transacción no periódica finalizada
Descripción
Enviado cuando se ha completado una transacción no recurrente en MemberPress.
Muestra de respuesta
{ "event": "non-recurring-transaction-completed", "type": "transaction", "data": { "membership": { "id": 271, "title": "One day membership", "content": "", "excerpt": "", "date": "2019-04-04 12:14:54", "status": "publish", "author": "5", "date_gmt": "2019-04-04 18:14:54", "modified": "2019-04-04 12:14:54", "modified_gmt": "2019-04-04 18:14:54", "group": "0", "price": "10.00", "period": "1", "period_type": "lifetime", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "0", "is_highlighted": false, "plan_code": "", "pricing_title": "One day membership", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "delay", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-04", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": "0", "id": "195", "amount": "10.00", "total": "10.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1EPstWJT1LHvX6ILpbHj3WEZ", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-16 15:08:20", "expires_at": "2019-04-17 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": false, "subscription_payment_index": false, "commissions": [] } }
Transacción no periódica caducada
Descripción
Se envía cuando caduca cualquier transacción no asociada a una suscripción.
Muestra de respuesta
{ "event": "non-recurring-transaction-expired", "type": "transaction", "data": { "membership": { "id": 92, "title": "Unlock Your Performance - Premium", "content": "", "excerpt": "", "date": "2018-09-24 14:24:43", "status": "publish", "author": "2", "date_gmt": "2018-09-24 20:24:43", "modified": "2019-04-05 15:35:29", "modified_gmt": "2019-04-05 21:35:29", "group": "93", "price": "257.00", "period": "1", "period_type": "lifetime", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "0", "is_highlighted": false, "plan_code": "", "pricing_title": "Unlock Your Performance - Premium", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "delay", "expire_after": "1", "expire_unit": "weeks", "expire_fixed": "2019-04-05", "tax_exempt": false, "allow_renewal": "1", "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": "0", "id": "188", "amount": "257.00", "total": "257.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ELzhmJT1LHvX6ILPVV6mtMr", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-05 21:35:49", "expires_at": "2019-04-12 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": false, "subscription_payment_index": false, "commissions": [] } }
Tras el registro de los miembros
Descripción
Sent when any After Member Signup reminder fires.
Muestra de respuesta
{ "event": "after-member-signup-reminder", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "46", "subscr_id": "cus_EYoeMWfkPS0bOA", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-02-19 22:24:53", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "11", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "201", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ER69hJT1LHvX6ILF05DBg0q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-19 23:30:08", "expires_at": "2019-05-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": true, "subscription_payment_index": 3, "commissions": [] } }
Tras el abandono de la inscripción
Descripción
Sent when any After Member Signup Abandoned reminder fires.
Muestra de respuesta
{ "event": "after-signup-abandoned-reminder", "type": "transaction", "data": { "membership": { "id": 92, "title": "Unlock Your Performance - Premium", "content": "", "excerpt": "", "date": "2018-09-24 14:24:43", "status": "publish", "author": "2", "date_gmt": "2018-09-24 20:24:43", "modified": "2019-04-05 15:35:29", "modified_gmt": "2019-04-05 21:35:29", "group": "93", "price": "257.00", "period": "1", "period_type": "lifetime", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "0", "is_highlighted": false, "plan_code": "", "pricing_title": "Unlock Your Performance - Premium", "pricing_show_price": true, "pricing_display": "auto", "custom_price": "", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "default", "register_price": "", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "delay", "expire_after": "1", "expire_unit": "weeks", "expire_fixed": "2019-04-05", "tax_exempt": false, "allow_renewal": "1", "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": false, "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": false, "custom_payment_methods": [], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": "0", "id": "189", "amount": "257.00", "total": "257.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "mp-txn-5ca7ca6a1d8a6", "status": "pending", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-05 21:36:42", "expires_at": "2019-04-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": false, "subscription_payment_index": false } }
Antes de que caduque el abono
Descripción
Sent when any Before Subscription Expires reminder fires
Muestra de respuesta
{ "event": "before-sub-expires-reminder", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "46", "subscr_id": "cus_EYoeMWfkPS0bOA", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-02-19 22:24:53", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "11", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "201", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ER69hJT1LHvX6ILF05DBg0q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-19 23:30:08", "expires_at": "2019-05-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": true, "subscription_payment_index": 3, "commissions": [] } }
Tras la expiración del abono
Descripción
Sent when any After Subscription Expires reminder fires.
Muestra de respuesta
{ "event": "after-sub-expires-reminder", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "46", "subscr_id": "cus_EYoeMWfkPS0bOA", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-02-19 22:24:53", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "11", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "201", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ER69hJT1LHvX6ILF05DBg0q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-19 23:30:08", "expires_at": "2019-05-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": true, "subscription_payment_index": 3, "commissions": [] } }
Antes de renovar el abono
Descripción
Sent when any Before Subscription Renews reminder fires.
Muestra de respuesta
{ "event": "before-sub-renews-reminder", "type": "transaction", "data": { "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 5, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "http://zapier.test.com", "message": "", "registered_at": "2018-08-30 16:42:13", "first_name": "zapier", "last_name": "test", "display_name": "zapier test", "address": { "mepr-address-one": "120 S 200 W", "mepr-address-two": "", "mepr-address-city": "lehi", "mepr-address-state": "UT", "mepr-address-zip": "84043", "mepr-address-country": "US" }, "profile": { "mepr_company_name": "", "mepr_birthday": "2019-01-02", "mepr_testslug": "" } }, "coupon": "0", "subscription": { "coupon": "0", "membership": "15", "member": "5", "id": "46", "subscr_id": "cus_EYoeMWfkPS0bOA", "gateway": "peum51-1tc", "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-02-19 22:24:53", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "11", "cc_exp_year": "2030", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null }, "id": "201", "amount": "100.00", "total": "100.00", "tax_amount": "0.00", "tax_rate": "0.000", "tax_desc": "", "tax_class": "standard", "trans_num": "ch_1ER69hJT1LHvX6ILF05DBg0q", "status": "complete", "txn_type": "payment", "gateway": "peum51-1tc", "prorated": "0", "created_at": "2019-04-19 23:30:08", "expires_at": "2019-05-19 23:59:59", "corporate_account_id": "0", "parent_transaction_id": "0", "tax_compound": "0", "tax_shipping": "1", "response": null, "rebill": true, "subscription_payment_index": 3, "commissions": [] } }
Después de que caduque la tarjeta de crédito
Descripción
Sent when any After Credit Card Expires reminder fires.
Muestra de respuesta
{ "event": "after-cc-expires-reminder", "type": "subscription", "data": { "coupon": false, "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 56, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "", "message": "", "registered_at": "2019-04-18 16:47:14", "first_name": "zapier", "last_name": "test", "display_name": "zapiertest" }, "id": "69", "subscr_id": "cus_EuSIHGllVD3168", "gateway": { "name": "Stripe", "label": "My Stripe gateway", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/cards.png", "use_icon": true, "desc": "Pay with your credit card via Stripe", "use_desc": true, "id": "peum51-1tc", "has_spc_form": true, "settings": { "gateway": "MeprStripeGateway", "id": "peum51-1tc", "label": "My Stripe gateway", "use_label": true, "use_icon": true, "use_desc": true, "email": "", "sandbox": false, "force_ssl": false, "debug": false, "test_mode": "on", "use_stripe_checkout": false, "churn_buster_enabled": false, "churn_buster_uuid": "", "api_keys": { "test": { "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "live": { "public": "", "secret": "" } }, "saved": "1", "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "capabilities": [ "process-credit-cards", "process-payments", "process-refunds", "create-subscriptions", "cancel-subscriptions", "update-subscriptions", "suspend-subscriptions", "resume-subscriptions", "send-cc-expirations" ] }, "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-04-18 16:47:19", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Antes de que caduque la tarjeta de crédito
Descripción
Sent when any Before Credit Card Expires reminder fires.
Muestra de respuesta
{ "event": "before-cc-expires-reminder", "type": "subscription", "data": { "coupon": false, "membership": { "id": 15, "title": "Gold Membership", "content": "", "excerpt": "", "date": "2018-08-30 16:10:22", "status": "publish", "author": "2", "date_gmt": "2018-08-30 16:10:22", "modified": "2019-04-23 08:57:21", "modified_gmt": "2019-04-23 14:57:21", "group": "17", "price": "100.00", "period": "1", "period_type": "months", "signup_button_text": "Sign Up", "limit_cycles": false, "limit_cycles_num": "2", "limit_cycles_action": "expire", "trial": false, "trial_days": "0", "trial_amount": "0.00", "trial_once": "1", "group_order": "2", "is_highlighted": false, "plan_code": "", "pricing_title": "Gold Membership", "pricing_show_price": true, "pricing_display": "custom", "custom_price": "$100 recurring yearly", "pricing_heading_txt": "", "pricing_footer_txt": "", "pricing_button_txt": "Sign Up", "pricing_button_position": "footer", "pricing_benefits": [ "" ], "register_price_action": "custom", "register_price": "$100 recurring yearly", "thank_you_page_enabled": false, "thank_you_page_type": "message", "thank_you_message": "", "thank_you_page_id": "0", "custom_login_urls_enabled": false, "custom_login_urls_default": "", "custom_login_urls": [], "expire_type": "none", "expire_after": "1", "expire_unit": "days", "expire_fixed": "2019-04-23", "tax_exempt": false, "allow_renewal": false, "access_url": "", "disable_address_fields": false, "simultaneous_subscriptions": "1", "use_custom_template": false, "custom_template": "template-sitemap.php", "customize_payment_methods": "1", "custom_payment_methods": [ "peum51-1tc" ], "customize_profile_fields": false, "custom_profile_fields": [], "cannot_purchase_message": "You don't have access to purchase this item." }, "member": { "id": 56, "email": "zapier@test.com", "username": "zapiertest", "nicename": "zapiertest", "url": "", "message": "", "registered_at": "2019-04-18 16:47:14", "first_name": "zapier", "last_name": "test", "display_name": "zapiertest" }, "id": "69", "subscr_id": "cus_EuSIHGllVD3168", "gateway": { "name": "Stripe", "label": "My Stripe gateway", "use_label": true, "icon": "http://yourdomain.com/wp-content/plugins/memberpress/images/checkout/cards.png", "use_icon": true, "desc": "Pay with your credit card via Stripe", "use_desc": true, "id": "peum51-1tc", "has_spc_form": true, "settings": { "gateway": "MeprStripeGateway", "id": "peum51-1tc", "label": "My Stripe gateway", "use_label": true, "use_icon": true, "use_desc": true, "email": "", "sandbox": false, "force_ssl": false, "debug": false, "test_mode": "on", "use_stripe_checkout": false, "churn_buster_enabled": false, "churn_buster_uuid": "", "api_keys": { "test": { "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "live": { "public": "", "secret": "" } }, "saved": "1", "public_key": "pk_test_99NqpKsIsKWcjE2cgvKViV99", "secret_key": "sk_test_99WXy9TgeQGH47NMkNSnSd99" }, "capabilities": [ "process-credit-cards", "process-payments", "process-refunds", "create-subscriptions", "cancel-subscriptions", "update-subscriptions", "suspend-subscriptions", "resume-subscriptions", "send-cc-expirations" ] }, "price": "100.00", "period": "1", "period_type": "months", "limit_cycles": "0", "limit_cycles_num": "2", "limit_cycles_action": "expire", "prorated_trial": "0", "trial": "0", "trial_days": "0", "trial_amount": "0.00", "status": "active", "created_at": "2019-04-18 16:47:19", "total": "100.00", "tax_rate": "0.000", "tax_amount": "0.00", "tax_desc": "", "tax_class": "standard", "cc_last4": "1111", "cc_exp_month": "10", "cc_exp_year": "2020", "token": "", "tax_compound": "0", "tax_shipping": "1", "response": null } }
Curso iniciado
Descripción
Sent when a user views the course for the first time.
Muestra de respuesta
{ "event": "mpca-course-started", "type": "member", "data": { "id": 1160, "email": "john@email.com", "username": "johndoe", "nicename": "johndoe", "registered_at": "2021-07-20 18:15:18", "display_name": "johndoe", "course": { "id": 1627, "title": "Test Course", "started": "2021-07-21 13:01:45", "completed": "2021-07-21 13:02:01" } } }
Curso completado
Descripción
Sent when a user completes the course.
Muestra de respuesta
{ "event": "mpca-course-completed", "type": "member", "data": { "id": 1160, "email": "john@email.com", "username": "johndoe", "nicename": "johndoe", "registered_at": "2021-07-20 18:15:18", "display_name": "johndoe", "course": { "id": 1627, "title": "Test Course", "started": "2021-07-21 13:01:45", "completed": "2021-07-21 13:02:01" } } }
Lección Iniciada
Descripción
Sent when a user views the lesson for the first time.
Muestra de respuesta
{ "event": "mpca-lesson-started", "type": "member", "data": { "id": 1160, "email": "john@email.com", "username": "johndoe", "nicename": "johndoe", "registered_at": "2021-07-20 18:15:18", "display_name": "johndoe", "course": { "id": 1627, "title": "Test Course", "started": "2021-07-21 13:01:45", "completed": "2021-07-21 13:02:01" }, "lesson": { "id": 1324, "title": "Test Lesson", "started": "2021-07-21 13:01:52", "completed": "2021-07-21 13:01:54" } } }
Lección finalizada
Descripción
Sent when a user completed the lesson.
Muestra de respuesta
{ "event": "mpca-lesson-completed", "type": "member", "data": { "id": 1160, "email": "john@email.com", "username": "johndoe", "nicename": "johndoe", "registered_at": "2021-07-20 18:15:18", "display_name": "johndoe", "course": { "id": 1627, "title": "Test Course", "started": "2021-07-21 13:01:45", "completed": "2021-07-21 13:02:01" }, "lesson": { "id": 1324, "title": "Test Lesson", "started": "2021-07-21 13:01:52", "completed": "2021-07-21 13:01:54" } } }
Prueba intentada
Descripción
Sent when a user attempts the quiz.
Muestra de respuesta
{ "event": "mpca-quiz-attempt-completed", "type": "member", "data": { "id": 1160, "email": "john@email.com", "username": "johndoe", "nicename": "johndoe", "registered_at": "2021-07-20 18:15:18", "display_name": "johndoe", "attempt": { "id": 10, "attempt_no": 1, "points_possible": 1, "points_scored": 1, "score": "100%", "date_attempt": "2021-07-21 13:02:01" }, "course": { "id": 1627, "title": "Test Course", "started": "2021-07-21 13:01:45", "completed": "2021-07-21 13:02:01" }, "quiz": { "id": 1490, "title": "Test Quiz" } } }