Destek/Gelir Atfı
Gelir Atfı

LemonSqueezy Checkout API ile gelir atfı

Devam etmeden önce LemonSqueezy hesabınızı bağladığınızdan emin olun.

Flowsery, LemonSqueezy olaylarını meta.custom_data.website_id değerini okuyarak yönlendirir.

const { data } = await createCheckout({
  storeId,
  variantId,
  checkoutData: {
    custom: {
      website_id: 'flid_******',
    },
  },
});

Desteklenen LemonSqueezy webhook olayları

  • order_created
  • subscription_payment_success
  • order_refunded
  • order_updated

Flowsery'nin LemonSqueezy bağlantı akışını kullanıyorsanız storeId değerini yapılandırılmış halde tutun, çünkü webhook'un otomatik kaydı buna bağlıdır.