JWMutant
Forum Replies Created
-
Forum: Plugins
In reply to: [Stripe for WooCommerce] Stripe extra infoYou sir a the master.
If you have a btc address please let me know what it is Ill send some coin your way at the end of the week.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Stripe extra infoCan I assume this goes in class-s4wc_gateway.php?
Thanks for the reply btw.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Riskified and StripeOk I had the perameters done by a wordpress coder.
However working out where to put the coding is a problem.Little help please?
Forum: Plugins
In reply to: [Stripe for WooCommerce] Riskified and StripeI was having a look at some of the coding in your plugin, Im no coder but it looks like the coding I have given may only need a little bit of tweaking to get it to work.
Yes?
Like I said more than happy to throw a little cash your way if needed.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Riskified and StripeI dug up the coding that was added to the old opencart stripe plugin.
<modification>
<file name=”catalog/controller/payment/stripe.php” error=”skip”>
<operation error=”skip”>
<search position=”before”><![CDATA[
$charge_response = $this->curlRequest(‘charges’, $data, ‘POST’);
]]></search>
<add trim=”true”><![CDATA[
$data[‘metadata’] = array();$data[‘metadata’][‘shipping_address’] = ‘{“name”: “‘ . $order_info[‘firstname’] . ‘ ‘ . $order_info[‘lastname’] . ‘”, ‘;
$data[‘metadata’][‘shipping_address’] .= ‘”city”: “‘ . $order_info[‘shipping_city’] . ‘”, ‘;
$data[‘metadata’][‘shipping_address’] .= ‘”line1″: “‘ . $order_info[‘shipping_address_1’] . ‘”, ‘;
$data[‘metadata’][‘shipping_address’] .= ‘”line2″: “‘ . $order_info[‘shipping_address_2’] . ‘”, ‘;
$data[‘metadata’][‘shipping_address’] .= ‘”phone”: “‘ . $order_info[‘telephone’] . ‘”, ‘;
$data[‘metadata’][‘shipping_address’] .= ‘”zip”: “‘ . $order_info[‘shipping_postcode’] . ‘”, ‘;
$data[‘metadata’][‘shipping_address’] .= ‘”state”: “‘ . $order_info[‘shipping_zone_code’] . ‘”, ‘;
$data[‘metadata’][‘shipping_address’] .= ‘”country”: “‘ . $order_info[‘shipping_iso_code_2’] . ‘”, ‘;
$data[‘metadata’][‘shipping_address’] .= ‘”company”: “‘ . $order_info[‘shipping_company’] . ‘”}’;$data[‘metadata’][‘billing_company’] = $order_info[‘payment_company’];
$data[‘metadata’][‘billing_phone’] = $order_info[‘telephone’];
$data[‘metadata’][’email’] = $order_info[’email’];
$data[‘metadata’][‘browser_ip’] = $order_info[‘ip’];
]]></add>
</operation>
</file></modification>
Not sure if it is useful in any way or even where to put it.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Riskified and StripeThe last time I had this issue was when I was using opencart and a stripe plugin.
After alot of trialling I ended up having to turn to the dev of the plugin and ask him to add the fields to his plug.Which once it was done was perfect.
I am more than happy to send some cash your way and work with you to test it.
Hell with any luck you could use this feature as a pro version because every good e-merchant wants to have riskified as feature due to there 100% no-chargeback guarantee.
Feel free to email me directly on [email protected] to discuss.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Riskified and StripeThis is a copy taken straight from the Riskified/Stripe Integration github
In order to review charges, Riskified requires the credit card billing address. When collecting credit card details, be sure to save this information as well.
We also require that you add a metadata hash to every Stripe-created charge. The metadata hash must include the shipping address, billing company, billing phone, email, and browser IP. Below is an example of code written in Ruby.
Stripe::Charge.create(amount: 100,
currency: ‘usd’,
customer: ‘cus_2xRw4xWfm7ybdg’,
metadata: {shipping_address: ‘{“name”: “Dennis Duffy”,
“city”: “San Francisco”,
“line1”: “1 main st”,
“line2″:””,
“phone”:”917-917-9177″,
“zip”:”99999″,
“state”:”CA”,
“company”:””,
“country_code”:”US”}’,
billing_company: ”,
billing_phone: ‘917-917-9177’,
email: ‘[email protected]’,
browser_ip: ‘200.123.123.113’})Forum: Plugins
In reply to: [Stripe for WooCommerce] Riskified and StripeSure.
Firstly let me start of by saying that of all the ecommerce platforms that riskified can work with, woo is the hardest to get right.
There are a few steps needed.
First step is to give riskified a read only app access to stripe which has been done.
The second step is to give Riskified a notification endpoint to the site, this is done via a api, which has been done.
The third step is to Embed Riskified’s Storefront Beacon, this is in the process of being completed. The storefront beacon is a code snippet embedded on your website, that provides Riskified with important user session data.
Once this is all done the riskified side of things will now be 100% integrated.
So my question is the, Email address, Any product details (goes in the line_items field), Any shipping details (if the product requires that) and the Browser IP, is this info that stripe collects automatically or is this extra coding need on the gateway side of things to give them that info?