Next steps for Shopkit
I am working on resolving a few bugs in Shopkit 1.0.4, and the fixes will be released as version 1.0.5 within the next week or so. No new features in 1.0.5.
Then I’ll get to work on updating Shopkit for Kirby 2.3, complete with plugin registry goodness.
Questions while I was away
@AlexK How easy is it to add another payment gateway?
Adding more payment gateways is “easy” in the sense that Shopkit has a switch statement that can be extended to handle another gateway. You would still have to write all your own code to process the raw transaction data (like snippets/cart.process.paypal.php
). And you would need to write some code to handle the successful callback (like snippets/payment.success.paypal.php
).
You would also need to add a button to templates/cart.php
and modify some PayPal-specific display logic in templates/order.php
.
In short, perhaps it’s not as easy as I made it out to be. I plan to include Stripe in a future release (not the next one), so ideas are welcome here: https://github.com/samnabi/shopkit/issues/70
Shopkit uses PayPal Payments Standard, with data sent through a web form. The actual payment happens on PayPal’s server.
Can you replicate the PDF download issue with a fresh copy of Shopkit 1.0.4? If so, it would help to get the details of your server (PHP version, installed PHP extensions) so I can look into this further.
@ToGe88 Order notifications
Shopkit 1.0.4 comes with email notifications out-of-the-box, located under Shop settings > Payment
. However, it has a bug that I’ll fix before releasing 1.0.5.
@ToGe88 Send follow-up information to customers
This is a great feature request, and would be helpful not just for tracking numbers but any update to the customer’s order after they’ve paid. I’ve logged it on GitHub for inclusion in a future release.
@guidoferreyra Integrating Shopkit into an existing site
Like @texnixe said, it’s a bit of a mess to manually merge all the blueprints, snippets, etc. into an existing Kirby site. I’m sure it will also cause version control headaches when you update to the next version of Shopkit. Hopefully with Kirby 2.3 and the plugin registry, this will become easier.