Developers
 

Weepay V2 goals include simplying the procedure and shortening the time spent on the integration of the merchant site to Weepay so the merchant can immediately accept payment as soon as they are accredited.


Integration may immediately take place while merchant is being accredited by Weepay payment partners for the Online Payments.


Weepay Online V2 comes into two integration types that is based on the merchant requirement and the capability of their website.


Website Type: Dynamic


Dynamic Sites may feature (1) updated links to their product inventory; (2) requires a comprehensive computation pattern; (3) detailed Know-your-client procedure and database and (4) active Shopping Cart facility integrated to their website.


We recommend the Advance Integration (Full E-commerce)

- Seamless checkout process to online payment portal.

- Customer is immediately redirected to Weepay site after clicking Pay button in the merchant shopping cart.

- Merchant sets and computes amount to be paid by customer.

 


Website Type: Simple


We can also cater to merchant who have simple websites that features only the list of product display and prices. Weepay can integrate to the simplest site that may be run by business owners themselves.


We recommend the Basic Integration

- A Weepay Pay Button will appear on your site where clients can pay their purchase.

- Integration only composes of a few simple steps.

- Minimal coding required.

Basic Integration (Weepay Button Only)
Advanced Integration (Full E-commerce)

Advanced Integration (Full E-commerce)



The following Details is used for integrating with Weepay Online Version 2.0. This includes ASP.Net, PHP, Classic ASP integration instructions.


Weepay Online Version 2.0 09/20/2013


Approval Process

Steps in applying for a Weepay Online Account:


  1. Submit the following document requirements.
    1. Application form (completely filled out)
    2. Corporate Documents
      1. Sec. Registration/ DTI
      2. Articles of Incorporation
      3. By Laws
      4. Business/ Mayors Permit
      5. General Information Sheet
    3. Company Profile
      1. Business Model
      2. Products and Services
      3. Profiles of Key officers
      4. ID of Key Officers and Signatories
    4. Process Flow
      1. Transaction Flow
      2. Policy Procedure on Customer Identification
      3. Products/ Service Fulfillment / Delivery methods
      4. Website Snapshot
    5. Visa/ Mastercard Invoices for the last 6 months (if applicable)
    6. Endorsement from a co-equal member bank
    7. Identify preferred Transaction limit per day
  2. Accreditation takes a minimum of 21 banking days
  3. Integration will be done in while we proceed with accrediting your website.

 

Knowing your Weepay Username and Password

An email that contains your username and password will be sent to you by Weepay Customer Care. Please change your password immediately after your first log in. This is for your account security.

 


Things to know

Term Definition
Shared Key This is a randomly generated unique key that is given each time the required URLs for a business account is edited. Shared keys differ per business account. This key will enable your website and business account to integrate to Weepay Payment Gateway.

 

How to retrieve shared key?
  1. To get your shared key, log in to your weepay account.
  2. Select your business or test account (use test account if purpose is for testing only).
  3. Click View Profile, and now you may copy your shared key. If you are to integrate for the first time, edit the API section and paste your 3 integration files’ absolute path in your website. Take note that every time you edit any of these APIs, a new shared key is generated.
Account Number Your account number (Weepay account number) will serve as your ID for all Weepay transactions. Account number is unique per business account registered with Weepay.

 

How to retrieve your account number?
  1. To get your account number, log in to your Weepay account.
  2. Select your business or test account. You can see your account number in your account overview (or in your business or test account information).
  3. You may also contact Weepay customer care to get your account number.
Weepay IP Addresses 209.237.227.202 and 209.237.227.195

 

 

Download Links

Integration Document Download Here

ASP.Net Download Here

PHP Download Here

Classic ASP Download Here

JSP Download Here

 


Integrating under DotNet / PHP / Classic ASP Web Application

  1. Unzip the downloaded integration files, then place the folder in your website root.
  2. Login to your Weepay Account. Click your test account, then copy to clipboard the Account Number. Click edit account and check Store API. Set the absolute URL of Get Details Page, Process Status Page and Fulfillment Page where the integration files are saved. Save the changes. Once saved, copy the prompted Shared Key to clipboard.
  3. Edit the following three (3) integration files by performing what is indicated in the To do sections:
    1. GetDetails.aspx/.php /.asp (This page is used to get your cart/service/product information to be web requested by Weepay.)
      1. Change the value of expected shared key variable with your shared key which can be found on your weepay account.
      2. Change the expected IPs variable to 209.237.227.195 and 209.237.227.202.
      3. Go to Get Details method and replace the example parameter values in the method by providing the necessary codes to retrieve your cart information using the invoice number variable. Take note of the data types of each parameter to avoid errors (e.g. amount, email parameter).
    2. ProcessStatus.aspx/ .php /.asp (This page is used to update the invoice being paid by the customer if it's successful or not. This will be web requested by Weepay.)
      1. Change the value of expected shared key variable with your shared key which can be found on your Weepay account.
      2. Change the expected IPs variable to 209.237.227.195 and 209.237.227.202.
      3. Go to Update Invoice method and place your code that will update your item/product/record based on the invoiceNo, then handle the status string if (Y or N) then save the trxNo string for reference of your weepay transaction then return true if status string is Y or false if the status string is N.
    3. Fulfillment.aspx/.php /.asp (This page is used to handle success transaction or to re-process any unprocessed invoice by the customer.)
      1. Change the value of expected shared key variable with your shared key which can be found on your Weepay account.
      2. Change the expected IPs variable to 209.237.227.195 and 209.237.227.202.
      3. Change the account number variable with your account number which can be found on your weepay account.
      4. Change the merchant URL variable with your desired webpage name. The page will be redirected to this page if the process is successful. Else, it will be redirected to reprocess page.
      5. Go to invoice success validation method and retrieve your item/product/record based on the invoice number string then check if we already updated that record/product/item as success or failed. If success, return true if failed, return false.
  4. Edit your Check Out page and include this in your form. Edit the account number and your invoice number value.
        <form id="formRedirect" name="formRedirect"
            action="https://secure.weepay.com/payment/desktop/getinvoice.cshtml" method="post"> 
            <div> 
                <input type="submit" value="Pay via Weepay" /> 
                <input type="hidden" name="accountnumber" value="" /> 
                <input type="hidden" name="invoicenumber" value="" />
            </div>
        </form>
  5. Do testing repeatedly.
  6. After testing, if you are ready for deployment, just repeat step 1 to 5 USING YOUR BUSINESS ACCOUNT account number.

 


Testing Procedures
  1. Download the Integration files that can be found on the developers section on weepay website.
  2. Provide your account number and a dummy invoice number in your checkout page that would post redirect to weepay payment page.
  3. Run your site. You should see dummy information in weepay payment page.
  4. Take note that you should uncomment the WeepayValidate() conditions on the integration files when you are ready to test your website with a real data.

 


Error Responses
  1. Please input valid amount format (ex. 1000)
    • Invalid amount format passed (get details page).
  2. Invalid data format
    • Wrong URL/invalid returned data (get details page).
  3. No data returned (maybe Error on shared Key or IP.)
    • Invalid Shared Key or IP. To check your shared key, log in to your Weepay account.
  4. Error on Account Number
    • Invalid Account Number. To check your account number, log in to your Weepay account.
  5. Error on Web Request (maybe your website is not accessible in public
    • The page cannot be located/Invalid page path
  6. No Merchant Invoice Number given
    • No Invoice Number supplied. To check your account number, log in to your Weepay account.
  7. Invalid Parameters
    • No account number or invoice number or trxNo(applicable in reprocess.cshtml) passed
  8. Can't send a status for merchant
    • An error that occurs when the application can’t process the payment for 3 attempts.
  9. Please contact Weepay Customer Care regarding this error
    • The transaction has already been debited but there was no response from Bancnet.
  10. You have already completed this transaction. Page is expired.
    • An error that occurs when attempting to reprocess a finished/done transaction.
  11. General Error
    • Application has error / Unknown error.
 

Concern on this read me instructions? Reach us at: E-mail:
E-mail: dev@weepay.com