By Jakop Eskinazi on Tuesday, 15 May 2018
Posted in General
Replies 28
Likes 0
Views 636
Votes 0
Hi ,
I am using Authorize CIM app for payment and using plan of type recurring_trial_1.
(ie $ 44.00 for the first 2 months,$ 22.00 for every 1 month)

Please provide me the steps for renew the plan by user.

or is there any way to do this renew process automatically.

Thanks.
Hello Jkop,

When user subscribe this plan (recurring + Trial 1) after first payment , next payment will be done automatically.
no need to renew plan by user manually. further payment will be done automatically.

If you are talking about renewal of plan after expiration app then you need to use Payplans Renewal app. So after expiration user will be able to renew their plan.
https://stackideas.com/docs/payplans/administrators/essentials/renewal

Let me know if you have any query or correct me if i misunderstood.
·
Tuesday, 15 May 2018 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi ,

Without renew button whether 'Authorize CIM' will work for Automated Recurring ?
It was not working automatically without a renew button for me. Do i need to do any setting in plugin or in Authorize .net?
·
Tuesday, 15 May 2018 18:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jakop,

Manual renewal will require only if subscription got expired.
for ongoing recurring payment's it will done automatically.

Can you share your site's admin details, so i'll be able to check this issue at your site.
Update me.
·
Tuesday, 15 May 2018 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
Please find the screenshot i attached,

The Subscriptions still showing active. Do i need to change anything
·
Tuesday, 15 May 2018 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jakop,

According to attached screen shot, subscription will wait for the payment till the period set in payplans configuration for wait for payment field. see attachment.

After wait for payment period, if payment not came , then on cron job subscription will get expire. till wait for payment period it will show active.

For example - if you set 2 days in 'Wait for a payment' field then for payment it will wait for 2 days before marking any expiration to subscription.
If payment not completed in 2 day's then subscription will be expired after 2 days.

In case of recurring payment , any error coming for further payments.
Go to backend payplans >> logs , see is there any error log.

Can you please share your site admin details , so i'll be able to check what error is coming during recurring payment.
·
Wednesday, 16 May 2018 09:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
Thank you for the reply.

Can you tell me how can i set automatic email notification for admin while renewing the plan.
which file or function is using for that?
Please reply ASAP.
·
Wednesday, 16 May 2018 13:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jakop,

Let me know you want to send these email notification to admin only when user renew plan from frontend manually or you want it for ongoing recurring payment's.
So i'll assist you accordingly.
·
Wednesday, 16 May 2018 13:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I want it for ongoing recurring payment's. Please assist me for admin email notification .
·
Wednesday, 16 May 2018 14:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jakop,

You can use Payplans notification Emailer app, you need to send email on Invoice status changed to paid.
This will send email to buyer as well to those users also set in Email CC and Email BCC field.
see attached screen shot.
https://stackideas.com/docs/payplans/administrators/administration/notification-emailer

If you want to send notifications to admin only , then it will require customization to send email to admin only when renewal payment done. Let me know which payment gateway you are using , so i'll tell you the path of file , where you can customize the code for admin emails.

update me.
·
Wednesday, 16 May 2018 15:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

I am using Authorize CIM app for payment. Please tell me the path of file , where we can customize the code for admin emails. Also my plan is recurring .
·
Wednesday, 16 May 2018 15:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jakop,

You need to do the changes in below mentioned file path.
Root/plugins/authorizecim/authorizecim/app/authorizecim/authorizecim.php, near line no. 261 find function name processPayment, see attached screen shot where you need to add the code.

Let me know if you have any query.
·
Wednesday, 16 May 2018 15:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi ,

The mails are not going when i put the code in function "processPayment"

but mails are working when i put in function "_processRecurringPayment"

Can you help me to correct . is there any issue when we execute mail in function _processRecurringPayment after $payment->save();
·
Wednesday, 16 May 2018 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Can you please share the code you have written in processPayment function, so i can check.
As you want to send emails for renewal payment (automatic recurring payments), so this need to done in processPayment function because _processpayment function will called when first payment made.

Update me.
·
Wednesday, 16 May 2018 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi ,

Please find the attached code that added in processPayment function.
·
Wednesday, 16 May 2018 19:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I checked your code and found you are getting user related information also but for this you need to add below mentioned code after $created_date variable.

$userId = $invoice->getBuyer();
$user = PayplansUser::getInstance($userId);


Let me know if you have any query.
·
Thursday, 17 May 2018 10:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

How can i get the latest invoice details. $invoice->getSubtotal() is retrieving the first trial amount . How can i get the regular price?
·
Thursday, 17 May 2018 13:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jakop,

You need to use below mentioned code to get regular amount.

$regularAmount = $invoice->getRegularAmount();


Let me know if you have any query.
·
Thursday, 17 May 2018 14:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi ,
How to get latest invoice id?$invoice->getId() is retrieving only the first (ie trila) invoice id.
·
Thursday, 17 May 2018 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jakop,

For now to get latest invoice id use below mentioned code.

$order = PayplansOrder::getInstance( $payment->getOrder());
$invoices = $order->getInvoices();
if(!empty($invoices)){
$latestInvoice = array_pop($invoices); // latest invoice id
}


You can refer Payplans api also.
https://stackideas.com/docs/payplans/developers/welcome/payplans-api

By the way i am really sorry but unfortunately we cannot accommodate your next customization request as it is beyond our support scope's policy as outlined in https://stackideas.com/support

Thanks for understanding.
·
Thursday, 17 May 2018 17:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manisha,

By using this $invoice->getRegularAmount(); method, we are getting regular amount but taxable. So, which method we can use to get regular amount but non-taxable?

Looking forward to hear from your side.

Thanks..
·
Thursday, 14 June 2018 02:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mohammad,

You need to use $invoice->getPrice(); function.
See attached screen shot for details.

Update me if you have any query.
·
Thursday, 14 June 2018 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manisha,

Thanks for your response. I see screenshot, but can you please let me know what number i need to pass in function to get non-taxable regular price?

Really appreciate your help.

Thanks..
·
Thursday, 14 June 2018 15:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mohammad,

To get price you need to pass number values as shown below.
Regular amount = 0
Recurring + 1 Trial = 1
Recurring + 2 Trial =2

By the way i am really sorry but unfortunately we cannot accommodate your next customization request as it is beyond our support scope's policy as outlined in https://stackideas.com/support
·
Thursday, 14 June 2018 16:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post