picocodes
Forum Replies Created
-
AuthorPosts
-
March 11, 2020 at 6:03 am in reply to: Is it possible to get the invoices data and status through the API? #4349
You can create, read, update, and delete invoices, items and discounts via the REST API. We still don’t have documentation for this but you can always visit yourwebsite.com/wp-json/invoicing/v1 to see all available routes and arguments.
If I understand you correctly, you would like to automatically update invoice items whenever their prices change?
Have you set up your live Square credentials (includes you live location id) in the addon’s settings?
March 9, 2020 at 5:29 am in reply to: Not requiring credit card when there is a full discount on recurring plans #4328Hi Stacey.
Payment gateways such as Stripe and PayPal require you to either offer a free trial or charge the user a minimum amount (0.5 USD or equivalent) for each period. We are actively working on how to make subscriptions with a 100% discount on the first period work the same as offering a free trial, but this involves re-writing quite a large amount of code.
This is something that we hope to fix in the next update, but for now, I would suggest that you offer a free trial, as you wait on us to address the issue.
The above link works for me with or without using incognito. Do you have a staging site?
March 5, 2020 at 8:05 am in reply to: Not requiring credit card when there is a full discount on recurring plans #4311I’ve updated the invoicing plugin and everything works. Always remember to keep your plugins updated.
At the moment, you will have to manually query the database. Discounts are saved as a custom post type called ‘wpi_discount’.
You can use wpinv_get_all_discounts to fetch discounts. All the discount fields are stored as custom fields.
I’m setting a task to introduce discount reports in the future but for now, you will have to code your own based on the above details.
You can easily replace the login with UsersWP in a few minutes without changing the design.
In addition, the rest API supports cookie authentication too.
This is a bug that I’m not always able to reproduce. Sometimes I visit the checkout and it works perfectly, other times the cart is empty.
I’ve created a task for it.
Is forgoing JWTs and using normal WordPress authentication an option? That plugin has not been updated in a year and is the most likely culprit.
You might want to check your website’s error log to see where the issue is originating from.
Just curious… Why would you want to do that?
Currently, that’s not possible unless you use a payment gateway that supports recurring payments.
Hi Ann,
There is nothing that we can do for that specific invoice since it is already created. But I’ve modified the plugin and now future invoices will display “Payment For” instead of “Renew Listing”.
Sorry to keep you waiting.
Hi Andreas,
“Pre Bank Transfer” does not support subscriptions since there is no way that Invoicing can automatically detect new transfers.
However, you can always manually create a new invoice every time you receive a new transfer.
It was working the first time I tried it out but now it isn’t. Can you provide your FTP details in a private reply so I can check it out?
-
AuthorPosts