As a beta test/marketing device since going live in 2020.
I’m planning a big push to all my KaroroCAD products to become commercial this year. With a new website coming for the Rhino plugins, new training courses, commerical licenses etc etc
As part of this I would like to look out how to add ‘pay per export’ to my Shapediver tools.
Is there an example setup or guide to say, take a Pay Pal payment before allowing the download/email of a DXF file from Shapediver?
If you are sticking to the embedded iframe, there is currently no way to achieve the setup you are mentioning. The iframe is self-contained and does not expose any API options to connect to your website, Paypal, or any other external system. Of course, you have the option to use the Email Export component to send email to your own address instead of the client’s one, and then proceed with the transaction through email exchanges.
If you want to achieve something more automated, you would need to use direct embedding and setup the paywall before the export functionality. As a side note, we are working on templates which will make it easy to get started with custom ShapeDiver applications, already providing a user interface, and only leaving open the connection with external system through a few API calls. This would be available with Designer Plus subscriptions and above.