Jump to content



- - - - -

Wepay Oscommerce Plugin Offical Thread

wepay oscommerce plugin

  • Please log in to reply
68 replies to this topic

#21   apinnt

apinnt
  • Members
  • 31 posts
  • Real Name:Al
  • Gender:Male
  • Location:Wisconsin USA

Posted 17 April 2012 - 05:32 AM

Awesome, I love hearing you got it to work! Never mind my other post!

I'll PM you a email address to a guy at Wepay, he might be able to get your API approved faster.

#22   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 05:33 AM

the test worked on my site. i was taken to the checkout page

#23   apinnt

apinnt
  • Members
  • 31 posts
  • Real Name:Al
  • Gender:Male
  • Location:Wisconsin USA

Posted 17 April 2012 - 05:36 AM

Gotti, are you using production information or staging?

Did you see ndamico last post?

#24   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 05:44 AM

ya i see his post...

im looking at wepay right now, at https://stage.wepay.com/home and i dont see a client id. where is that clien id suppose to be?

#25   ndamico

ndamico
  • Members
  • 40 posts
  • Real Name:nick d

Posted 17 April 2012 - 05:44 AM

i was able to get it to work in sandbox mode.  add item to cart, checkout, get directed to wepay, enter CC info, complete order.  i even had a customer (who i now have to call) put an order through when i had it in testing mode.


i didn't even download the "dumbed down version" that you posted. i'm using the regluar OSC plugin you posted initially.  i'll PM you a link to my site.

#26   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 05:46 AM

do yo use aim or msn messenger?

#27   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 05:47 AM

ndamico can you post here what you did step by step between your config of the module in payments on the store and what you did on wepay.com so i can see if im missing a step here.

#28   ndamico

ndamico
  • Members
  • 40 posts
  • Real Name:nick d

Posted 17 April 2012 - 06:00 AM

step5 is where i originally goofed. i didn't create an account in wepay. therefore i had no "account id" to put into the OSC admin section.  the part in bold is the "account id".  the other settings for the module come from the "your apps" section.  (go to developers link from main page).  here you get client ID, client secret, and access token.


Quote

Client id, client secret, etc have really nothing to do with your clients. That stuff is your API Credentials provided by Wepay. When you register an App with Wepay, you will receive that information. You will get that information on both the staging and production site, both will be different. So when you run production, swap out the staging client id, client secret, etc for the production ones.
Keep in mind, staging means its running but your not actually charging anything. You can run a million credit cards thru there and you will never see a dime because staging is another way of saying testing.
Production means your API was approved on Wepay’s end and your ready to start charging cards and collect the funds into your live account.
If you haven’t already, do this to setup your staging account. To setup your production one, follow the same steps except, go to http://www.wepay.com and NOT staging.wepay.com. You will need to register for an account on both sites. They are considered seperate from each other. Doesn’t matter if your registered to the live site, you still need to register to the staging site.
1. First you will need to goto https://stage.wepay.com/developer. That is the staging site, which means you can run as many transactions thru it for testing purposes only. You have to test your code in the staging environment before you can go live!
2. Once you register on the staging site you will need to go to the developer section again, click on “Your Apps”
3. Click on “Create an application”, fill out all the fields, and hit submit.
4. You now have registered a app with wepay, which will give you your client secret, access token. (Make sure you copy this information to the plugin.)
5 . You will now need to create an account you want your money to go into. Click on the “Home” link at the top of the screen. This will bring you to your account home page. You can ether use an account you have created or create a new one. In this case I will use one I already have, so click on the one you want to use.
Once you have clicked on it, in the address bar on your browser will tell you your account number.
Example: https://stage.wepay.com/group/view/
Copy that number you have in your browser, you will need it later.
Let me know if you couldn’t get it.


#29   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 06:04 AM

where is the account id???? i dont see it

#30   ndamico

ndamico
  • Members
  • 40 posts
  • Real Name:nick d

Posted 17 April 2012 - 06:10 AM

no i dont

View PostGoTTi, on 17 April 2012 - 05:46 AM, said:

do yo use aim or msn messenger?


#31   ndamico

ndamico
  • Members
  • 40 posts
  • Real Name:nick d

Posted 17 April 2012 - 06:11 AM

ok go to wepay.com.

login

click on "HOME"

under "my accounts" click on anyhting like "send invoices"

now look at the URL.  it should say "https://www.wepay.com/invoice/send/########"  where the ####'s are your account number.  that's the part i was missing.

#32   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 06:13 AM

this is what i see when i click on home...

Attached Files



#33   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 06:14 AM

lol jesus....is it looking right at me!!!! i looked at the screen shot...

Get Started Now!

First thing: You need to open an account to hold the payments you receive.

i need to make a account right? lol wat a fuggin shmuck

Edited by GoTTi, 17 April 2012 - 06:14 AM.


#34   ndamico

ndamico
  • Members
  • 40 posts
  • Real Name:nick d

Posted 17 April 2012 - 06:17 AM

yah man.. i missed it to. just type something in the box. don't matter what..  lol

#35   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 06:18 AM

OK NOW IT WORKED! wow....i feel like a putz. it was printed right infront of my face the entire time.

that 5th step i was skipping and just looking at my address bar for the number....not having the account to send the money to actually created....that is a very weird setup. im gunna have to snoop around more on this wepay idea lol....

damn i feel stoopid lol...anyone need me to setup their payment gateways just let me know and ill refer someone else for you lol

#36   ndamico

ndamico
  • Members
  • 40 posts
  • Real Name:nick d

Posted 17 April 2012 - 06:23 AM

glad you got it working.  the real test for me will be when they approve my api and see what happens.

#37   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 06:25 AM

i like how it puts the order number in the comments are for reference. nice. doing a few more test.

#38   apinnt

apinnt
  • Members
  • 31 posts
  • Real Name:Al
  • Gender:Male
  • Location:Wisconsin USA

Posted 17 April 2012 - 06:28 AM

Sorry guys I was away for a bit. I'm beyond ecstatic for Gotti!!! You got it, I knew it would work!

If you think I need to clarify my tutorials let me know. I haven't made time yet but I will try and post a how to video to hopefully prevent missing a step.

Let me know how it goes for you guys! I'm very happy your both up and running now!!!

#39   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 06:37 AM

doing some SSL test...

i notice that when checking out with SSL enabled, and the payment is made and the auto return happens, the address has a pretty bit of code at the end of the html...

checkout_success.php?osCsid=56sdv56454615v56w1v51dv

without ssl it doesnt have that it just has checkout_success.php

is that going to matter if i have SSL enabled or not with payment processing? i went directly to checkout_success.php before payment was placed and it didnt record the order until i actually paid for the item in the test run....

so will it matter if SSL is enabled?

#40   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 17 April 2012 - 06:43 AM

i also have the google checkout IPN installed. inside that package there is a way to add these extra areas to the order page that lets google send back the order number on their end so i can reference the payment if i need to. it also provides me with the verification that payment was actually made properly.

your mod is sending me the order number in the comments area....

here is the link to google checkout...http://addons.oscommerce.com/info/5157 if you unzip and go into the extras folder you will see the modificaiton we have to make to have that extra little data show on the upper portion of the order details page i have address screenshot for reference.

can your mod do the same thing instead of putting the payment number in the comments area maybe place it in that field and i can just change the name to payment order number or something?

Attached Files