comecerodocs

Webhook events

The events Comecero sends to your endpoints, what each one holds and how to check it really came from Comecero.

Events

account:modifiedAccount modifiedcart:payment_completedCart payment completedgateway:createdGateway createdgateway:modifiedGateway modifiedevent_subscription:createdEvent subscription createdevent_subscription:modifiedEvent subscription modifiedevent_subscription:deletedEvent subscription deletedlicense_service:low_licensesLicense service low on licensesinvoice:createdInvoice createdinvoice:publishedInvoice publishedinvoice:paidInvoice paidinvoice:payment_completedInvoice payment completedorder:createdOrder createdorder:payment_completedOrder payment completedorder:fulfilledOrder fulfilledorder:licenses_assignedOrder licenses assignedpayment:completedPayment completedpayment:created_successPayment succeededpayment:created_failurePayment failedpayment:captured_successPayment capturedpayment:captured_failurePayment capture failedpayment:voidedPayment voidedproduct:createdProduct createdproduct:modifiedProduct modifiedproduct:deletedProduct deletedproduct:low_inventoryProduct low on inventoryrefund:created_successRefund succeededrefund:created_failureRefund failedrefund:deletedRefund deleteduser:createdUser createduser:modifiedUser modifiedshipment:createdShipment createdshipment:modifiedShipment modifiedshipment:deletedShipment deletedsubscription:createdSubscription createdsubscription:modifiedSubscription modifiedsubscription:cancelledSubscription cancelledsubscription:cancellation_scheduledSubscription cancellation scheduledsubscription:cancellation_unscheduledSubscription cancellation unscheduledsubscription:completedSubscription completedsubscription:convertedSubscription convertedsubscription_item:addedSubscription item addedsubscription_item:cancelledSubscription item cancelledsubscription_item:cancellation_scheduledSubscription item cancellation scheduledsubscription_item:cancellation_unscheduledSubscription item cancellation unscheduledsubscription_item:modifiedSubscription item modifiedsubscription:renewal_successSubscription renewedsubscription:renewal_failureSubscription renewal failed

Guides that use it

License services

Give buyers a license key after each sale, either from a list of keys you upload or from your own license server that Comecero calls with the order.

Meta data

Store your own data on Comecero carts, orders, customers, products and more with the meta field, and carry it from a cart or invoice to the order.

Account and test mode

Sign up for Comecero, keep test and live tokens and data apart, test payments with test cards for success and decline, and get ready to go live.

Quickstart

Go from a new account to a paid test order with curl in about 5 minutes. Create a test token, a product and a cart, then pay with a test card.

Accept payments

Build a checkout with the API. Create a cart, take a card, PayPal or Apple Pay payment, handle 3-D Secure and declines, and capture or void later.

Invoices

Bill a customer with an invoice. Add products or custom items, publish the draft, send a payment link, take payment by API and follow the invoice events.

Refunds

Give money back with the API. Refund a whole order or part of it by amount or items, refund one payment, refund to store credit and follow the refund events.

Subscriptions

Sell a subscription with a plan and a cart, follow renewals with webhooks, change items with proration, cancel, retry failed payments and handle grace periods.

Webhooks

Get events such as order created or payment completed sent to your server, check the signature, answer fast, skip repeats and resend failed events.

Analytics

Send storefront page views and purchases to Google Analytics 4 and Google Ads conversions, and add your own tracking code to the hosted storefront.

Auto fulfill and capture delay

How fulfillment settings decide when order items are marked fulfilled and when an authorized payment is captured, so you can take the money only after shipping.