Jump to content
adatole

Support for Stripe.com?

Recommended Posts

I was looking at using stripe.com as an alternative to another gateway (the one that recently advised a buyer to smash a violin rather than return it).

 

Is there any support planned for this gateway service?

 

Thanks!

Share this post


Link to post
Share on other sites

Doesn't look like it. I could probably build one if I knew more people wanted it.

Share this post


Link to post
Share on other sites

I'll see if I can make some time this weekend. Looks simple enough. I talked to stripe.com a few days ago and it seems really simple.

Share this post


Link to post
Share on other sites

I would be interested in "stripe", this seems to be the lowest cost way to accept credit cards online ?

bud

Share this post


Link to post
Share on other sites

@@GoTTi Never got a chance, Ill play with it this weekend. Working on a lot of stuff related to WePay and WordPress. Also building a ton more WePay plugins for other open source carts. The OsCommerce and ZenCart now support charging taxes.

Share this post


Link to post
Share on other sites

i am. i have built a stripe payment module but on another cart (Interspire SHopping Cart) but I could easily do it in OSCommerce.

I might be able to get it done next week(around saturday).

 

Once I'm done, I'll let you know guys.

Share this post


Link to post
Share on other sites

i am. i have built a stripe payment module but on another cart (Interspire SHopping Cart) but I could easily do it in OSCommerce.

I might be able to get it done next week(around saturday).

 

Once I'm done, I'll let you know guys.

 

You will totally get all of my adoration if you can make this available for us.

 

It seems pretty straight forward with all of Stripe's documentation, but my brain just farts at all the API programming.

Share this post


Link to post
Share on other sites

Had a look at the zen one

 

so I converted it to OsCommerce 2.2

 

Its a simple convet for anyone who knows what they are doing

Edited by psxgunman

Share this post


Link to post
Share on other sites

Official DOwnload:

 

http://addons.oscommerce.com/info/9078

 

Stripe is core code from v2.3.4 onwards.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

I can't get Stripe's test credit card numbers to work.  I'm running OsC 2.3.4, loaded Stripe module, configured with test secret and publishable keys, and testing the API server connection works flawlessly.  However, I've tried several of their test credit card numbers and all I get in the shopping cart is "Please try again and if problems persist, please try another payment method."

 

I've got an e-mail set for debugging and all I get is:

$HTTP_POST_VARS:

Array
(
[cc_save] => true
[comments] => This is a test.
)

 

Any ideas?

Share this post


Link to post
Share on other sites

Hi

Go to Stripe, find your dashboard for live or test mode (depending what your store is using) and then look for 'Logs' in the left column (at the foot under Requests)

You'll maybe find some useful info in there

Share this post


Link to post
Share on other sites

Hi

Go to Stripe, find your dashboard for live or test mode (depending what your store is using) and then look for 'Logs' in the left column (at the foot under Requests)

You'll maybe find some useful info in there

Thanks!  Here's what I found, but it's not telling me much:

Parsed Request Query Parameters

  • email: "my e-mail"
  • payment_user_agent: "Stripe Checkout v3"
  • referrer: "https://stripe.com/docs/checkout"
  • amount: "2000"
  • validation_type: "card"
  • currency: "usd"
  • time_checkout_opened: "1409850674"
  • time_checkout_loaded: "1409850670"
  • card:
    • number: "**** **** **** 4242"
    • cvc: "***"
    • exp_month: "11"
    • exp_year: "2015"
    • name: "my e-mail"
  • key: "pk_test_my public test key"
  • callback: "sjsonp1409850670174"
  • _method: "POST"
Parsed Request POST Body
No body
Response body
  • id: tok_14Z3m5GIimILoPc1Qpt67QN2
  • livemode: false
  • created: 1409850717
  • used: false
  • object: "token"
  • type: "card"
  • card:
    • id: card_14Z3m5GIimILoPc1TtnseqNP
    • object: "card"
    • last4: "4242"
    • brand: "Visa"
    • funding: "credit"
    • exp_month: 11
    • exp_year: 2015
    • fingerprint: "AjyOBrAcisk8KKYM"
    • country: "US"
    • name: "my e-mail"
    • address_line1: null
    • address_line2: null
    • address_city: null
    • address_state: null
    • address_zip: null
    • address_country: null
    • customer: null

email: my e-mail

{

 

 

I used their 4242 4242 4242 4242 card test number and I edited my private test key and e-mail address out of the above - it's all correct in the log. :)

Edited by TomB01

Share this post


Link to post
Share on other sites

Sorry, but I think that log was their own test app that I did earlier today just to see if their own test numbers were working.  None of my posts from my store have apparently gotten through to make a log.  My Test API Server Connection works flawlessly in the Admin.  The OsC 2.3.4 demo site works fine and gives a successful checkout completion message, but I can't get that far with my own store.  This was a virgin install two days ago, but I've since added fluid 960gs, Theme Switcher, USPS Rate, and UPS XML.  Would any of those conflict with anything using Stripe? 

Share this post


Link to post
Share on other sites

Hi

I don't see anything added that would interfere with Stripe unless UPS/USPS 'does' something at checkout_confirmation. You could try switching them 'off' and see if it works.

 

I've ran a test through on a vanilla 2.3.4 using Stripe with no tokens and payment went OK  - here's the data collected using Developer Tools in a Chrome browser - it may help if you could do something similar and see what you get - I have tried all flavours of the module token/no token etc etc and they all work

 

1. Click 'confirm order' on checkout_confirmation:

Remote Address:50.18.212.157:443
Request URL:https://api.stripe.com/v1/tokens?card[name]=Test+Developer&card[number]=4242424242424242&card[cvc]=123&card[address_line1]=1234+NOwhere&card[address_city]=nowhere&card[address_zip]=65757&card[address_state]=Texas&card[address_country]=US&card[exp_month]=01&card[exp_year]=2015&key=pk_test_IxZRbLVTHQ2YYGRg1q4kUMrB&callback=sjsonp1409857382443&_method=POST
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:*/*
Accept-Encoding:gzip,deflate
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Host:api.stripe.com
Referer:http://localhost/osc234/checkout_confirmation.php
User-Agent:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36
Query String Parametersview sourceview URL encoded
card[name]:Test Developer
card[number]:4242424242424242
card[cvc]:123
card[address_line1]:1234 NOwhere
card[address_city]:nowhere
card[address_zip]:65757
card[address_state]:Texas
card[address_country]:US
card[exp_month]:01
card[exp_year]:2015
key:pk_test_IxZRbLVTHQ2YYGRg1q4kUMrB
callback:sjsonp1409857382443
_method:POST
Response Headersview source
Access-Control-Allow-Credentials:true
Access-Control-Allow-Methods:GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Max-Age:300
Cache-Control:no-cache, no-store
Content-Encoding:gzip
Content-Type:application/javascript;charset=utf-8
Date:Thu, 04 Sep 2014 19:03:40 GMT
Server:nginx
Strict-Transport-Security:max-age=31556926; includeSubDomains
Stripe-Version:2014-05-19
Transfer-Encoding:chunked
Vary:Accept-Encoding

Stripe sends back 'OK' and this gets sent to checkout_process:

Remote Address:127.0.0.1:80
Request URL:http://localhost/osc234/checkout_process.php
Request Method:POST
Status Code:302 Found
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip,deflate
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Content-Length:30
Content-Type:application/x-www-form-urlencoded
Cookie:osCsid=aikn3047kks0398nf0cem6cg01
Host:localhost
Origin:http://localhost
Referer:http://localhost/osc234/checkout_confirmation.php
User-Agent:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36
Form Dataview sourceview URL encoded
stripeToken:tok_4iWZJ5v9AseUTF
Response Headersview source
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection:Keep-Alive
Content-Length:0
Content-Type:text/html
Date:Thu, 04 Sep 2014 19:03:37 GMT
Expires:Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive:timeout=5, max=100
Location:http://localhost/osc234/checkout_success.php
Pragma:no-cache
Server:Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19
X-Powered-By:PHP/5.4.19

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×