52 Posts
rafiki
6 years ago
1
Topic

Please i created a user registration form  with seblod which works well. i want that before the registration can be completed users are to pay some certain amount.. now i have the javascript/html code for the payment platform am using. so how do i make my form linked to the platform..

i copied the code and put it in a custom html field but i noticed that it can be bypassed because there is nothing linking it or validating it before the form can be submitted. hope am clear enough on what i am trying to do..

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
0
Level 1

You should not try to do this client side, any payment confirmation that is passed trough client is not safe as it can be forged - even with validation user can change value on his side to trick the system it has been payed. Probably easiest way would be to do this in php with code field beforeStore - query payment server and if response is positive proceed with form storing and if not cancel it. 

You can also try contacting Octopoos for ecomerce solution they developed. https://www.seblod.com/contact

Get a Book for SEBLOD