We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment: SANDBOX
When creating subscription from dashboard it created auth url which can be used to make payment. Is this supported or it is intended?
Response:
{ "authorization_details": { "authorization_amount": 1, "authorization_amount_refund": false, "authorization_reference": null, "authorization_time": null, "authorization_status": null, "payment_id": null, "payment_method": null, "instrument_id": null }, "cf_subscription_id": "576635", "customer_details": { "customer_name": null, "customer_email": "[email protected]", "customer_phone": "*********" }, "plan_details": { "plan_id": "BASIC_ONE_MONTH", "plan_name": "Basic", "plan_type": "PERIODIC", "plan_max_cycles": null, "plan_recurring_amount": 99, "plan_max_amount": 99, "plan_interval_type": "MONTH", "plan_intervals": 1, "plan_currency": "INR", "plan_note": null, "plan_status": null }, "subscription_expiry_time": "2050-12-31T08:04:59+05:30", "subscription_first_charge_time": "2024-12-10T05:30:00+05:30", "subscription_id": "sub_2Ap4em28dtYswMMIKz9L", "subscription_meta": { "return_url": null }, "subscription_payment_splits": null, "subscription_session_id": "sub_session_aWpGfR8fGPQHQn_AZKWNKZZusMls-N-KLr672hPU8gpZ5uM4nUyUQUGCo2D9EHiDGtm24na29vE6dgZhl_SIqXrQ_Wnbx0J_8VXkSVWzIlPl35RwjNsT6SsUE_WpldDZqwjPaIwpayment", "subscription_status": "INITIALIZED", "subscription_tags": null }
SDK API
const result = await Cashfree.SubsCreateSubscription(this.cfApiVersion, { subscription_id: data.subscriptionId, customer_details: { customer_email: data.customerDetails.customerEmail, customer_phone: data.customerDetails.customerPhone, }, plan_details: { plan_id: data.planDetails.planId, }, // subscription_expiry_time: data.subscriptionExpiryTime, authorization_details: { authorization_amount: data.authorizationDetails.authorizationAmount, }, //subscription_first_charge_time: data.subscriptionFirstChargeTime, subscription_meta: { notification_channel: data.subscriptionMeta.notificationChannel, }, });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment: SANDBOX
When creating subscription from dashboard it created auth url which can be used to make payment. Is this supported or it is intended?
Response:
SDK API
The text was updated successfully, but these errors were encountered: