WP Chase Payment

Created by: Rahul Nagar

Rating:
Downloaded: 1k times

This plugin currently supports HPP payment and facilitate user to capture card information and process payment for CHASE payment gateway.

Following are the hooks defined for this plugin:
1) Hook Name: ibhpp_update_chase_payment_transaction
Description: User need to write his payment response and update logic
as per chase guidelines, under ibhpp_update_chase_payment_transaction hook.
Calling of this hook is already handled by this plugin.

Following are the methods defined for this plugin:

1) Method Name: ibhpp_generate_uID_for_chase()
Description: This method takes the required parameter and read chase_settings set by Admin Panel.
And call Chase payment gateway url to get uID in response.
Required Parameter: 1
Parameter type: array(
‘sessionId’ => ‘k8oyh21wowb9dr1cv93bboqq391w’,
‘orderId’ => ‘1234’,
‘totalAmount’ => ‘10.50’
);
Returns: uID
Return type: string

2) Method Name: ibhpp_send_details_to_hpp()
Description: This method takes the uID and redirect it to hpp_url set by Admin Panel.
Required Parameter: 1
Parameter type: string
Returns: redirect to hpp url using uID

3) Method Name: ibhpp_receive_payment_transaction()
Description: User need to call ibhpp_receive_payment_transaction hook after ibhpp_send_details_to_hpp() method,
ibhpp_receive_payment_transaction() will internally call ibhpp_update_chase_payment_transaction
to update the record in db.
Required Parameter: none
Returns: None

4) ibhpp_do_test_chase_payment()
Description: This is sample method for demo purpose, in order to call this method
Hit http://<your_domain.com>/ibhpp-chase-payment-test-page/
It will send sample data
and read admin defined chase_settings to generate payment form.

3) Method Name: ibhpp_get_failed_chase_payment_status()
Description: User need to call ibhpp_get_failed_chase_payment_status action to update payments status in db, for those
payments whose status(Online and Pending) not updated(Success/Fail) since 15 mins due to
any break in network connectivity.

Required Parameter: none
Returns: Display output

Screenshots

    Categories

    Get New Themes & Resources