Forum Academy Marketplace Showcase Pricing Features

Subscription; recurring charges - Stripe.js | HELP

Greeting great bubblers,

Confusions:
Option to create a product for seller > create price > create subscription with an auto cancel date based on client interval choice to make it easier for them.

Issue:
1- Although product, price and subscription created successfully and seller account ID is attached, still have no response at stripe logs fields that show the seller account ID or at the seller dashboard as balance or predictable payouts.
2- Although application fee is attached 0.03, no taxes taken at stripe logs.

Response:
{
“object”: {
“id”: “in_1Jq3O2FVxrwbNZZwx3y”,
“object”: “invoice”,
“account_country”: “US”,
“account_name”: null,
“account_tax_ids”: null,
“amount_due”: 6667,
“amount_paid”: 6667,
“amount_remaining”: 0,
“application_fee_amount”: null,
“attempt_count”: 1,
“attempted”: true,
“auto_advance”: false,
“automatic_tax”: {
“enabled”: false,
“status”: null
},
“billing_reason”: “subscription_create”,
“charge”: “ch_3Jq3O2FVxrwbNZZw1”,
“collection_method”: “charge_automatically”,
“created”: 1635545842,
“currency”: “usd”,
“custom_fields”: null,
“customer”: “cus_KS0KozDmySMrNH”,
“customer_address”: null,
“customer_email”: “@gmail.com”,
“customer_name”: null,
“customer_phone”: null,
“customer_shipping”: null,
“customer_tax_exempt”: “none”,
“customer_tax_ids”: [
],
“default_payment_method”: null,
“default_source”: null,
“default_tax_rates”: [
],
“description”: null,
“discount”: null,
“discounts”: [
],
“due_date”: null,
“ending_balance”: 0,
“footer”: null,
“hosted_invoice_url”: “Stripe Invoice”,
“invoice_pdf”:
“last_finalization_error”: null,
“lines”: {
“object”: “list”,
“data”: [
{
“id”: “il_1Jq3O2FVxrwbNZZwpcy9V1KD”,
“object”: “line_item”,
“amount”: 6667,
“currency”: “usd”,
“description”: “1 × Drawing & Supplies (at $66.67 / month)”,
“discount_amounts”: [
],
“discountable”: true,
“discounts”: [
],
“livemode”: false,
“metadata”: {
},
“period”: {
“end”: 1638224242,
“start”: 1635545842
},
“plan”: {
“id”: “price_1Jq3O1FVxrwbNZZwkw”,
“object”: “plan”,
“active”: true,
“aggregate_usage”: null,
“amount”: 6667,
“amount_decimal”: “6667”,
“billing_scheme”: “per_unit”,
“created”: 1635545841,
“currency”: “usd”,
“interval”: “month”,
“interval_count”: 1,
“livemode”: false,
“metadata”: {
},
“nickname”: null,
“product”: “prod_KV3V1H02V”,
“tiers”: null,
“tiers_mode”: null,
“transform_usage”: null,
“trial_period_days”: null,
“usage_type”: “licensed”
},
“price”: {
“id”: “price_1Jq3O1FVxrwbNZZwk”,
“object”: “price”,
“active”: true,
“billing_scheme”: “per_unit”,
“created”: 1635545841,
“currency”: “usd”,
“livemode”: false,
“lookup_key”: null,
“metadata”: {
},
“nickname”: null,
“product”: “prod_KV3V1H02VQ”,
“recurring”: {
“aggregate_usage”: null,
“interval”: “month”,
“interval_count”: 1,
“trial_period_days”: null,
“usage_type”: “licensed”
},
“tax_behavior”: “unspecified”,
“tiers_mode”: null,
“transform_quantity”: null,
“type”: “recurring”,
“unit_amount”: 6667,
“unit_amount_decimal”: “6667”
},
“proration”: false,
“quantity”: 1,
“subscription”: “sub_1Jq3O2FVxrwbNZZwFgLBPQ6d”,
“subscription_item”: “si_KV3VeCK0cW”,
“tax_amounts”: [
],
“tax_rates”: [
],
“type”: “subscription”
}
],
“has_more”: false,
“total_count”: 1,
“url”: “/v1/invoices/in_1Jq3O2FVxrwbNZZw/lines”
},
“livemode”: false,
“metadata”: {
},
“next_payment_attempt”: null,
“number”: “D2F8553E-0017”,
“on_behalf_of”: null,
“paid”: true,
“payment_intent”: “pi_3Jq3O2FVxrwbNZZw15Gw”,
“payment_settings”: {
“payment_method_options”: null,
“payment_method_types”: null
},
“period_end”: 1635545842,
“period_start”: 1635545842,
“post_payment_credit_notes_amount”: 0,
“pre_payment_credit_notes_amount”: 0,
“quote”: null,
“receipt_number”: null,
“starting_balance”: 0,
“statement_descriptor”: null,
“status”: “paid”,
“status_transitions”: {
“finalized_at”: 1635545842,
“marked_uncollectible_at”: null,
“paid_at”: 1635545842,
“voided_at”: null
},
“subscription”: “sub_1Jq3O2FVxrwbNZZwFg”,
“subtotal”: 6667,
“tax”: null,
“tax_percent”: null,
“total”: 6667,
“total_discount_amounts”: [
],
“total_tax_amounts”: [
],
“transfer_data”: null,
“webhooks_delivered_at”: null
}
}

What i am exactly missing, anyone?
Thank you

Is there no log at all? Meaning there is no log of an error or a successful API call?

Application fee is different than taxes. App fee is the amount the seller would have to pay to the platform (your app)…taxes are taxes.

Hey boston, How are you?

Successful API call - Look at the response, there is no seller account ID. However, the implementation looks fine, Account ID and tax application fee is attached.

The application fee is payed by the seller on subscription?

Sorry, didn’t realize this was the response you were referring to. I originally read the post that there was no response.

In the event that you are attempting to allow a seller that would be considered a ‘connected account’ there may be some differences between doing it as a Standard Account vs Express Account. I am familiar with Standard Account connection as that is the approach I take for my apps, so please ignore my ignorance if my next point is off base.

If that response you posted is found in Your Stripe Dashboard, and not the stripe dashboard of the connected seller, then that would be a likely indicator that the Stripe Account for a connected seller is not being passed through properly. Whenever I do a checkout session for a connected standard account, the API call logs associated are found on the connected stripe account dashboard and not my Stripe Dashboard.

If you are charging an application fee when somebody subscribes to a subscription, yes, that would be the case. Essentially the fee you set is diverted to your Stripe account instead of going into the seller stripe account. So, no they are not having to pay it or transfer it, it just happens automatically if you set an application fee.

In your logs, the reason why the ‘application_fee_amount’ is null is because it seems like you have not properly sent the connected stripe account ID.

This is what confused me. The express account id is successfully connected and the product was created in the seller dashboard, but the subscription itself passed on my dashboard without account ID and Application fee.

Thank you so much for confirming me about the application fee process sureness! Plus, The account ID is active and successfully created, and even with balance on transfer and payouts actions.

I am looking to hire a technology officer for the startup to help me push things forward - [Contract]. We are doing great, and if this is relevant to you… I will share time slots in private for a further meeting.

This topic was automatically closed after 70 days. New replies are no longer allowed.