Has anyone managed to incorporate PayPal integration into the MiniShop extra? Is this not the best extra to use if you want PayPal integration? I love the simplicity of minishop so it would be great if I could stick with that. I was thinking of trying to avoid the paypal PHP api since I know almost no PHP.
This is my idea for a method to go about it, and it certainly is a bit roundabout. Please let me know if this would work or if PHP integration is easier than I think.
1) Checkout button would not be the minishop "Submit Order" button, but a dynamicly generated paypal button. This is what I mean:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name_1" value="Item #1">
<input type="hidden" name="amount_1" value="1.00">
<input type="hidden" name="item_name_2" value="Item #2">
<input type="hidden" name="amount_2" value="2.00">
<input type="submit" value="PayPal">
</form>
2) After the payment is completed, Paypal would redirect the user to a payment completed page on our website.
3) A script on the payment completed page would submit the previously loaded cart to the minishop system, thus logging it within ModX.
Am I making things more complex than they need to be? Thanks for any guidance you can give me!