What is the best way to build recurring events in Slack using modals? - modal-dialog

I'm trying to build a recurring event for my Slack app using modals. Though I handled weekly recurring events, I am not sure how to handle monthly recurring events - say, Monthly on 6th, Monthly every first Tuesday, Monthly every second Tuesday, etc.

Related

which paypal webhook will i receive on next billing cycle payment in subscription

i am getting webhook for new created subscription which are
BILLING.SUBSCRIPTION.CREATED , BILLING.SUBSCRIPTION.ACTIVATED AND PAYMENT.SALE.COMPLETED
i am giving access them premium feature on BILLING.SUBSCRIPTION.ACTIVATED webhook.
if my subscription is monthly and i had buy subscription on 1st jan, so on my next billing time maybe 1st february , which webhooks i will receive on 1st february, how can i know paymenent is done on 1st feb
PAYMENT.SALE.COMPLETED is the only important one, you can build all your business logic based on solely that webhook, updating your records every time you get it
BILLING.SUBSCRIPTION.CREATED is of zero value, and BILLING.SUBSCRIPTION.ACTIVATED is not necessary
If necessary to aid in reconciliation, you can add a custom_id parameter when creating the subscription. This will be returned in all future webhooks for that subscription.

Change paypal next payment date in existing and executed billing agreement?

I used PayPal SDK to create and execute a billing agreement that was supposed to charge the client every 3 months.
However, I used the setup_fee to charge the customer immediately and set the start date to be 1 month in the future instead of 3.
I can see on the customer's profile that the customer next payment due date is in one month and I am not capable of changing the next payment date.
I've already tried using the billing agreement update method, but it doesn't let me change the start_date or next_payment_date.
Any idea how I can change the next payment date for the existing billing agreement that have already been executed?
The answer is not great, but the somewhat solution I found was to suspend the plans.
To give more context, my problem was the following:
User subscribed to quarterly paid plan on September 15th and paid setup_fee
Next payment was incorrectly configured to be on October 15th - because I added a month to the start date*
The actual next payment date should be 3 months after, on December 15h
My "solution":
I paused the subscriptions for those users before October 15th, more specifically on October 10th.
I restarted the solution 2 days after the incorrect next_payment_date, on October 17th.
Once the plan was restarted the next_payment_date was set to 3 months later, so it was set to January 15th.
So as you can observe, I was not able to actually fix it, but rather I accepted to "lose" a month.
Note: Paypal support was LESS than useful. At first their recommendation was to cancel the plan and ask the users to buy again. Then I sugggested the approach of suspending and they INCORRECTLY confirmed to me that the next payment date would be the correct one, and that was not true, it was ONE month later. So be aware of what their support says.

Confusion with PayPal's monthly billing cycle

I have implemented PayPal Payments Standard regarding processing subscriptions in our website. We have subscription plans for monthly/yearly.
As per the link https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/subscribe_buttons/#id08ADF60L0E6 PayPal says if a monthly billing cycle starts at 30th of January, the next billing cycle will be adjusted to 1st of March. But in live, it is different. I found that PayPal is billing on 28th of February. Is there any updated link of PayPal regarding this billing change? This is because, we need to display an expiration date to our customer for the current billing cycle/subscription.
Now I have doubts about the following:
How PayPal will adjust if the monthly billing cycle starts at 31st of January? Feb 28th or March 1st or March 2nd.
How PayPal will adjust if the yearly billing cycle starts at 29th February of a leap year? February 28th or March 1st.
My concern about billing date is that we are displaying the expiration dates to customers of current subscription. With no clear information of next billing date from PayPal, I am confused which date to display for next billing cycle.
Please let me know if any one is already handling these issues.
Thanks in advance!!!
I was also a bit confused, but found a good reference on their docs:
Recurring payments are collected on the same day of the month. If the
initial recurring payment falls on the 31st, PayPal eventually adjusts
the billing cycle to the 1st of the month. If the initial recurring
payment falls on the 29th or 30th, PayPal adjusts the billing cycle to
the 1st of the month on the following February.
Following what they've specified, I think the right answer to to both of your questions is:
It would be adjusted to March 1st.
For more examples, this reference might help:
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/subscription_billing_cycles/

Create Recurring Payment Profile

I am looking for the way to setup the PayPal recurring payment using API. As per the requirement, I need to charge the user $100 per month infinite. But need to give free ($0) every fourth month on three consecutive successful payment.
e.g. if the payment starts on January, it should charge $100 for Jan, Feb and March. It should not charge for April. Again it should charge $100 for May, Jun and July. while it should not charge for August. and so on.
So that user will get free subscription for every 4th month.
Please let me know how to implement this.

Paypal subscription auto payments on a specific day?

I am offering an annual program and want to automatically withdraw payments from my clients via PayPal. I see how to create a subscription to do this.
However, it charges them one month after they pay the first installment. I really want to bill all of my clients on the 1st of the month for 12 months, to simply the accounting for myself and them.
Is there a way to create an automatic payment on the 1st of every month without asking all of my clients to pay on that specific day?
I called Paypal and they said it would require html coding, but couldn't tell me HOW that might be accomplished for someone like me who doesn't write code.
If you're using the Recurring Payments API you can specify the PROFILESTARTDATE and set it to whatever future date you want. The profile will be become active immediatly, but it won't start until that date, which is when the first payment would be made.
Just keep in mind if somebody signs up on the 2nd of the month you'll basically be giving them a free month.