DrizzlePay Plugin

log6555

Active member
Elite
XNullUser
Joined
Nov 23, 2021
Messages
318
Reaction score
252
Points
43
NullCash
1,545
DrizzlePay is a payment plugin that connects many payment systems. This plugin only provides the payment system which you can use for your plugin and theme development.

What do you need?​

To integrate this plugin for your project you need to use some basic functions. This plugin has its own checkout page. what you need to do is send the payment information to this page



You need to send the information via post method to this page

drizzle_pay_checkout_url($params, $return)
#$params Required
$params = array(
'product' => osc_item_title(),
'product_detail' => 'Make premium for ad id '.osc_item_id(),
'amount' => '5',
'currency' => 'usd',
);

#$return optional, Whatever you send through this array will return after success payment.
#You can use this values to trigger functions
$return = array(
'product_type' => 'premium_ads',
'itemId' => osc_item_id(),
);



Important Hooks​

payment_success: This hook run after the successful transaction. You can use this hook to run your own function and you can redirect to a theme or plugin file.

payment_cancel: This hook run after the canceled transaction. You can use this hook to run your own function and you can redirect to a theme or plugin file.

invalid_transaction: This hook run after when duplicate or invalid transaction happening. You can use this hook to run your own function and you can redirect to a theme or plugin file.
 

Attachments

  • drizzle pay.zip
    334.1 KB · Views: 2

wmwp

Active member
Elite
XNullUser
Joined
May 27, 2021
Messages
408
Reaction score
167
Points
43
NullCash
79
 

lmfbs

Member
XNullUser
Joined
May 24, 2020
Messages
152
Reaction score
0
Points
16
NullCash
28
thak you i was looking new version and here we have
 
Top