Comments on: The buyCred Payment Gateway API https://mycred.me/tutorials/the-buycred-payment-gateway-api/?utm_source=rss&utm_medium=rss&utm_campaign=the-buycred-payment-gateway-api Free WordPress Reward, Badge, Loyalty & Points Management Plugin Tue, 02 Aug 2022 13:45:33 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Gabriel Merovingi https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62758 Mon, 20 Dec 2021 14:45:41 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62758 Hi

If you are expeiencing issues with myCRED or any plugin you purchased in the store, PLEASE OPEN A SUPPORT TICKET.

]]>
By: PatKF2017 https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62757 Mon, 20 Dec 2021 14:45:41 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62757 Hi Gabriel, your plugin is excellent. I have a problem with payment gateway, I use “skrill” and I filled all the fields in its configuration. But when I test it, there is an error message saying “Transaction not allowed
Wrong merchant email address! ”
The other problem is that I used “PayFast” in “Sandbox” mode and when paying it says “The supplied variables are not according to specification:

Cancel_url: cancel_url must be a valid URL ”
Can you help me please?
Thank you

]]>
By: smitralph https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62755 Mon, 20 Dec 2021 14:45:33 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62755 Hi,

Compliments on the plugin! A little thing i do miss, is an easy way to change the way the [mycred_buy_form] is displayed. What I am trying to do is show something like this:

“I have %plural” (this is easy with [mycred_my_balance] but I want the amount to show inline!)

“Buy 10 %plural% / 25 %plural% / 50 %plural%” (I already have this dropdown using amount in the shortcode , just not the suffix)

“You will be billed ” (Not a clue how to add this inside the shortcode)

“buy now” button (this I have 🙂 )

————-

That should be it, any thoughts?
Thanks in advance!

]]>
By: Gabriel Merovingi https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62756 Mon, 20 Dec 2021 14:45:33 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62756 Have you had a look at the mycred_buy shortcode? It can be setup to show an inline button instead of the entire form.

]]>
By: craneur22 https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62753 Mon, 20 Dec 2021 14:45:24 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62753 Hello !

First of all, I’m really sorry for my english but I’m french and I don’t speak English very well.

I would apply that in my model but it does not work :

In the div is a picture that appears but I can not click.
So I can’t open the Papal payment page.

Thanks

]]>
By: craneur22 https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62754 Mon, 20 Dec 2021 14:45:24 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62754 http://hpics.li/b853c90

]]>
By: Gabriel Merovingi https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62751 Mon, 20 Dec 2021 14:45:20 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62751 Just a small tip. When adding a gateway, you can always use the mycred_buycred_load_gateways action hook which will only fire if buyCRED is enabled. When it fires you can be assured that the myCRED_Payment_Gateway class is available. Because if you disable the buyCRED gateway with your code, you will have a fatal error as the abstract class will no longer be available but myCRED will still be active.

add_action( 'mycred_buycred_load_gateways', 'load_my_custom_gateway' );
function load_my_custom_gateway() {

	// your gateway class

}
]]>
By: hannan https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62752 Mon, 20 Dec 2021 14:45:20 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62752 thanks … i understood what you say … but i used below code rather than this hook to fire my gateway :

if ( is_plugin_active(‘mycred/mycred.php’) && defined( ‘myCRED_VERSION’ ) && class_exists( ‘myCRED_Payment_Gateway’ ) ) {

//my gateway codes

}

]]>
By: hannan https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62750 Mon, 20 Dec 2021 14:45:17 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62750 i got it …

i must to use ‘mycred_buycred_log_refs’ filter .

thanQ ….

]]>
By: hannan https://mycred.me/tutorials/the-buycred-payment-gateway-api/#comment-62746 Mon, 20 Dec 2021 14:45:17 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=1185#comment-62746 my mean is :
http://up.persianscript.ir/uploads/0ef8-1.png

]]>