lewiswharf / stripe Goto Github PK
View Code? Open in Web Editor NEWStripe payment extension for Symphony CMS.
Stripe payment extension for Symphony CMS.
On the forum thread, you mention some sections and fields, but it looks like that was actually before you made the extension.
I get that you pass all the arguments with inputs stripe[blah]
. But how does this translate into your Symphony sections?
E.g., after you create a customer, how does the stripe customer ID (example response) get into your Symphony users section? Likewise with the charges.
And along with that, what's the customer link for?
I've also got some questions along the lines of patrickyan about how to get this thing up and running
I made an event called Checkout_submit that has the filter Stripe: Create Charge
attached to it. I then attach that event to the page /shopping-cart/checkout/submit/
My form is on another page and looks like the following:
<form method="POST" action="mysite.com/shopping-cart/checkout/submit"</xsl:attribute>
<label>Country
<select name="stripe[address_country]" class="long" id="country">
<option name="US">United States</option
</select>
</label>
<label>Full Name
<input type="text" class="medium" name="stripe[name]" value=""/>
</label>
<label>Address 1
<input type="text" class="long" name="stripe[address-line1]" value=""/>
</label>
<label>Address 2
<input type="text" class="long" name="stripe[address_line2]" value=""/>
</label>
<label>City
<input type="text" class="long" name="stripe[address_city]" value=""/>
</label>
<label>Order Total
<input type="text" name="stripe[amount]" class="medium" disabled="disabled" value="15">
</input>
</label>
<label>Card Number
<input type="text" name="stripe[card][number]" class="long" placeholder="XXXX-XXXX-XXXX-XXXX" />
</label>
<label>Verification Code
<input type="text" name="stripe[card][cvc]" class="short" placeholder="123(4)" />
</label>
<label>Expiration
<input type="text" name="javascript-splitdate" class="short" placeholder="MM/YY"/>
</label>
<button name="action[checkout-submit]" type="submit" value="Submit">Submit Order</button>
</form>
When I submit this form to the page with event, I get no response in datasource indicating anything happened. Nothing in the node or anything else. Is there something I'm missing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.