Chapters

Category: mycred/purchase

A compilation of items related to Point Purchases via the buyCRED add-on.

buycred_complete_pending_payment

This function will process a pending point purchase and "complete" it by paying the buyer the point they purchased.

Continue Reading

buycred_gateway

This function will construct a given buyCRED Payment Gateway.

Continue Reading

buycred_get_pending_payment

This function retrieves the buyCRED pending payment object based on a given pending payment ID.

Continue Reading

buycred_get_pending_payment_id

This function attempts to get the WordPress post object ID for a given buyCRED pending payment ID.

Continue Reading

buycred_get_users_pending_payments

This function will return all a given users currently pending buyCRED point purchases.

Continue Reading

buycred_trash_pending_payment

This function will trash a pending buyCRED point purchase payment.

Continue Reading

mycred_buy

This shortcode will generate an anchor element for buying creds according to given attributes. mycred_buy is the little brother of mycred_buy_form allowing for very simple, straight forward purchase link to a specific payment gateway.

Continue Reading

mycred_buy_form

This shortcode will generate a html form for purchasing creds. mycred_buy_form offers far more options then the mycred_buy shortcode.

Continue Reading

mycred_buy_pending

This shortcode allows you to show your users their currently pending buyCRED purchases. Pending purchases occur when a user has not selected to cancel a payment or if a payment was unsuccessful. Users can view each transaction, select to cancel it or select to attempt a new payment.

Continue Reading

mycred_buycred_get_cost

This filter allows you to adjust the cost of buying points using the buyCRED add-on.

Continue Reading

mycred_cashcred

This shortcode will generate cashCred’s payment form on the front-end. The following shortcode attributes allow the admin to add payment gateway(s), point types(s), and messages for insufficient funds and excluded users.

Continue Reading

myCRED_Payment_Gateway

The myCRED_Payment_Gateway is a template class used by the buyCRED Add-on. It contains all the necessary class methods along with a set of template functions.

Continue Reading

mycred_paymentwall

This shortcode renders the Paymentwall widget you have set to use with the buyCRED add-on. Please note that this shortcode can not be used until your website has been approved by Paymentwall! While your website is pending approved, the shortcode will not work.

Continue Reading

mycred_stripe_buy

This shortcode allows you to setup purchase buttons which triggers the Stripe Checkout window. It should be used instead of the mycred_buy shortcode if you have the buyCRED Stripe Gateway add-on enabled.

Continue Reading

mycred_stripe_subscribe

This shortcode allows you to setup subscription buttons which triggers the Stripe Checkout window. Requires the buyCRED Stripe Gateway add-on to be enabled.

Continue Reading

mycred_stripe_subscription

This shortcode will show a table where users can view their current subscription details.

Continue Reading