From the documentation it appears that I can only set the billingDayOfMonth when I create a subscription. but I don't see that option when updating a subscription.
https://developers.braintreepayments.com/reference/request/subscription/create/php
https://developers.braintreepayments.com/reference/request/subscription/update/php
Is there another way of doing this? Or do I have to cancel a subscription and create a new one? I'd prefer not to do that but not sure what my options are
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
Your initial conclusion is correct — once a subscription has been created, the billing date cannot be updated. You will have to create a new subscription, but you can specify a custom subscription ID that links the new one to the canceled one if that helps you keep track of things.
Related
I'd like students to be able to access the first couple of lessons in Moodle before being presented with a request for payment. I've searched for ages on Google and found nothing, and also searched for all the possible terms I could think of here, and again come up short. Apologies therefore for the lack of contributing research/evidence.
I'm using Paypal as the chosen method of payment at the moment. Moodle is version 3.2.
Is there a way to add this kind of option to the 'access restrictions' in the courses themselves?
There isn't an existing way to restrict activity access based on the users enrolment type.
Without writing some custom code, the easiest way to do this is probably to have a separate course containing the pay-walled content, with paypal enrolment set up.
Add an activity to the free course with a link to the paid course. Use access restrictions to hide it until the other activities are complete.
When a user completes the free course content, the link to the paid course will be revealed, and they can click to enrol using paypal.
I want to update existing paypalAccount of a Vault user every time she makes a purchase using paypal checkout.
According to the documentation, I can only update creditCards using paymentMethodNonce.
Another piece of documentation shows how to update Paypal account using token. My understanding is that token is only available only after paymentMethod is added to Vault.
But all I know at this point (before I update the Vault) is paymentMethodNonce from the client-side. And I don't want to create a new paymentMethod/paypalAccount but to update the existing one.
Is there any way that I can update existing paypalAccount using paymentMethodNonce?
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
Currently there is not a way to update a paypalAccount using a paymentMethodNonce.
You can update a paypalAccount by updating the paymentMethod tied to the paypalAccount. First, save a mapping from user to a payment_method_token on your server. The payment_method_token will be returned from paymentMethod.create. Then, anytime you want to update a user's details, you can retrieve the paymentMethod using the token, and call paymentMethod.update.
For more information on updating paypalAccounts, please check out this documentation.
Here's my problem. When I create my transaction with the classic api, I find myself giving them a unique tracking id (https://developer.paypal.com/webapps/developer/docs/classic/api/adaptive-payments/Pay_API_Operation/) that match the one I store in my DB.
But after 8 months of devellopement, I have some problem. I reset my DB, so on my end, the tracking id can be used, but on Paypal end, it can't.
So I was wondering if there's any way to delete the transactions I've made so far? That way I could re-use theses tracking ID and make sure that this time I don't delete the one I've used, but instead store them in another collection.
Thanks a lot guys!
What I finally did was to make a simple function that generate another ID if the id was refuse by paypal, and add the refused one in my DB. That way, at some point, I caught up with the paypal transactions ids and was good to go!
What we did was to just create another app in our Paypal developer dashboard.
My understanding of the standard PayPal HTML code generated is that it will automatically ask
for a further payment in x months.
I wish to give my subscribers the opportunity to subscribe annually if they wish.At the end of this period they will need to renew their subscription (or not as the case maybe). I do not wish to go the Unsubscribe button route.
Can anyone please enlighten me with the amendment I need to make to the standard HTML script?
TIA
you will want to create a subscription button with the parameter modify=2 (2 will let only existing subscribers choose a plan). There's some documentation and sample code out there on the PayPal developer portal:
Documentation: https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/subscribe_buttons/#id08ADFA00WVU
HTML Sample: https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/subscribe_buttons/#id08ADFK020OJ
You may also want to refer to the HTML variable reference under https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HI00JQU
The process itself should be pretty straight forward.
The SRC value will determine if a subscription will recur (will be renewed) after the end of the billing period. Also bear in mind, that your website will probably have to send out notifications if you would like to have your subscribers update their subscription.
I hope this helps - otherwise I'm afraid you'll have to clarify your question a bit.
Regards,
Martin
I am using Microsoft CRM 4.0. I currently have many accounts that need to be updated by the sales person assigned to the account. What would be the best way to notify the user of the update? Also, It would be nice if there was also a way to notify me back that the task had been completed. I was thinking the best way would be through a workflow but It does not allow me to select multiple accounts at once to notify the user, of which ones need the update. I also have mobile access with CRM.
You're on the right track. You could use a combination of workflows to accomplish this. I don't know what exactly it is they need to update but you could create a bit flag called new_isrecordupdated and then create workflows that wait until the fields needing to be updated are changed. When they are you can set that flag to true. Then have another workflow sleep for X days and verify that the field is false, if so send out an email to the user.
If you need them to complete tasks, then the workflow will need to sit on the tasks if they're regarding an account. On a status change of completed, update the flag to false.
Again, I'm not sure what you're looking for them to update so I can't say with 100% certainty that this is what you need.
Depending on how many accounts you are talking about, you may want a scheduled console application to find all of the outstanding accounts that still require attention. It could then create a single email for each sales person each day with links to each of the accounts that still required attention.
You could also have a single daily report letting you know which accounts had been updated and which were still needed updating.
These could be done with a scheduled application or an SSRS Report.
In addition it would be helpful to add a view for your sales reps that showed them the complete list of accounts that they needed to update. You would also want a similar view sorted by the assigned owner.
This way you have notification, but not abusive notification if a lot of these are happening and you have a way for both you and your salesmen see anything outstanding with a simple glance at a view.
You would probably need to have a boolean to set an account as needing an update, and then you could use a plug-in to reset that flag whenever the owner updated it along with setting a last updated date. This would give you the fields to flag an account as needing to be updated and the date would allow you to see which accounts had been updated by their owners.