WebSite X5Help Center

 
Francis J.
Francis J.
User

Third party codes for payment nigeria  en

Author: Francis J.
Visited 1747, Followers 2, Shared 0  

Please is there any one on this Forum From Nigeria of course using Incomedia ... Please I need help on Payment system, non of the listed Vendors is applicable in Nigeria Please please I am running out of patience. 

Please Someone Help. I have come too far to start all over. Please please. If code would work please let have it. Thanks you all.

The image Below shows the summary of a transaction which was supposed to be 3000 naira Coming out to be 1 naira. 

Please 

Thanks All. 

Francis. 

Posted on the
9 ANSWERS - 1 CORRECT
Francis J.
Francis J.
User
Author

Next.

Read more
Posted on the from Francis J.
Incomedia
Stefano G.
Incomedia

Hello Francis

What type of payment method did you implement here? One of the default ones or a custom one?

If it's one of the default ones, which one is it that is creating this problem?

If it's a custom one instead, I'm afraid I will not be able to help you sort this out, as explained in this other topic

https://helpcenter.websitex5.com/en/post/230542

Please keep me posted on the situation here if the method is in fact one of the standard ones included in the software

Thank you

Stefano

Read more
Posted on the from Stefano G.
Francis J.
Francis J.
User
Author

Custom code from Paystack. 

Read more
Posted on the from Francis J.
Francis J.
Francis J.
User
Author

I want to convert my incomedia file to wordpress

I have been around now for a year on this Forum From Nigeria. My findings is.. Incomedia is good for blogging in Nigeria and not eCommerce and only if you want to receive payment by Hand, this is not the way I want to operate. I have being asking for help on this Forum and I am not getting any response even though my questions are direct. 

THAT I AM HAVING TROUBLE WITH PAYMENT SYSTEM INCORPORATING PAYMENT METHOD FROM NIGERIA. THE DEFAULT ON IT DOES NOT WORK FOR ME. WE HAVE TRIED CODES ON THE CODE SECTION. 

PayPal, Paystack, flutterwave, Remita, and other not working. 

I have Started learning how to use WordPress Please I need help on how to Convert INCOMEDIA FILES TO WORDPRESS. To save me the time starting all over again PLEASE. 

Thanks. 

Francis. 

Read more
Posted on the from Francis J.
Francis J.
Francis J.
User
Author

this is the code that Got me to that point.

<form >
<script src="https://js.paystack.co/v1/inline.js"></script>
<button type="button" onclick="payWithPaystack()"> Pay </button>
</form>

<script>
function payWithPaystack(){
var handler = PaystackPop.setup({
key: 'sk_test_95dfd02e4b3ee0dd7053cdfbb4d234a6d362e70f',
email: '***',
amount: 0,
currency: "NGN",
ref: ''+Math.floor((Math.random() * 1000000000) + 1), // generates a pseudo-unique reference. Please replace with a reference you generated. Or remove the line entirely so our API will generate one for you
firstname: 'Francis',
lastname: 'Joseph',
// label: "Optional string that replaces customer email"
metadata: {
custom_fields: [
{
display_name: "Mobile Number",
variable_name: "mobile_number",
value: "+2348066656565"
}
]
},
callback: function(response){
alert('success. transaction ref is ' + response.reference);
},
onClose: function(){
alert('window closed');
}
});
handler.openIframe();
}
</script>

Read more
Posted on the from Francis J.
Francis J.
Francis J.
User
Author

Please I will be glade if you can help out...

Please message me one *** thanks

i also have this code...

<form method='POST' id='payform' action='//voguepay.com/pay/' onsubmit='return false;'>
<input type='hidden' name='v_merchant_id' value='qa331322179752' />
<input type='hidden' name='merchant_ref' value='234-567-890' />
<input type='hidden' name='memo' value='Bulk order from McAckney Web Shop' />

<input type='hidden' name='notify_url' value='//www.mydomain.com/notification.php' />
<input type='hidden' name='success_url' value='//www.mydomain.com/thank_you.html' />
<input type='hidden' name='fail_url' value='//www.mydomain.com/failed.html' />

<input type='hidden' name='developer_code' value='pq7778ehh9YbZ' />
<input type='hidden' name='store_id' value='25' />

##Use notify url if you want a transaction response to be sent to the notify##
<input type='hidden' name='notify_url' value='//www.mydomain.com/notification.php' />

##Success and fail URL are not required if integration method is inline.##
##These are to be uses if you are using the form redirect method.##
<input type='hidden' name='success_url' value='//www.mydomain.com/thank_you.html' />
<input type='hidden' name='fail_url' value='//www.mydomain.com/failed.html' />

<input type='hidden' name='total' value='13000' />


<input type='hidden' name='name' value='Customer name'/>
<input type='hidden' name='address' value='Customer Address'/>
<input type='hidden' name='city' value='Customer City'/>
<input type='hidden' name='state' value='Customer State'/>
<input type='hidden' name='zipcode' value='Customer Zip/Post Code'/>
<input type='hidden' name='email' value='Customer email'/>
<input type='hidden' name='phone' value= 'Customer phone '/>

##notification triggers for inline payments only##
<input type='hidden' name='closed' value='closedFunction'>
<input type='hidden' name='success' value='successFunction'>
<input type='hidden' name='failed' value='failedFunction'>

<input type='image' src='//voguepay.com/images/buttons/buynow_blue.png' alt='Submit' />
</form>
<script>
closedFunction=function() {
alert('window closed');
}

successFunction=function(transaction_id) {
alert('Transaction was successful, Ref: '+transaction_id)
}

failedFunction=function(transaction_id) {
alert('Transaction was not successful, Ref: '+transaction_id)
}
</script>
<script>
Voguepay.init({form:'payform'});
</script>

Read more
Posted on the from Francis J.
Paul M.
Paul M.
Moderator

Hello Francis,

Here is the correct code to use for VoguePay, adapted for WebSite X5:

<form id='payform' method='POST' action='https://voguepay.com/pay/'>

<input type='hidden' name='v_merchant_id' value='DEMO' />
<input type='hidden' name='cur' value='NGN' />

<input type='hidden' name='memo' value='[ORDER_NO]' />

<input type='hidden' name='total' value='[PRICE]' />

<input type='hidden' name='name' value='[NAME]'/>
<input type='hidden' name='address' value='[ADDRESS1]'/>
<input type='hidden' name='city' value='[CITY]'/>
<input type='hidden' name='state' value='[STATEREGION]'/>
<input type='hidden' name='zipcode' value='[ZIPPOSTALCODE]'/>
<input type='hidden' name='email' value='[EMAIL]'/>
<input type='hidden' name='phone' value= '[PHONE]'/>

<input type='image' src='https://voguepay.com/images/buttons/buynow_blue.png' alt='Submit' />

</form>

You will need to substitute the value of 'v_merchant_id' (currently DEMO in the code above) with your actual merchant ID from VoguePay.

You can customise the colour and text of the 'Buy Now' button according to the documentation on the VoguePay website.

Kind regards,

Paul

Search the WebSite X5 Help Center

Read more
Posted on the from Paul M.
Francis J.
Francis J.
User
Author

Thanks I will try it now... 

Read more
Posted on the from Francis J.
Francis J.
Francis J.
User
Author

Fantastic... You are the man of the People it went.... the man of codes...  thanks a Billion

Read more
Posted on the from Francis J.