J
J
john820002017-08-26 03:36:59
ROBOKASSA
john82000, 2017-08-26 03:36:59

How to set up payment for the status of an ad on the bulletin board?

I have WOO connected .. on the site www.kgd.website to the store, to the goods ... BUT there is also a bulletin board www.kgd.website/vse-obyavleniya and payment for the status of the ad - goes separately through the Paypel plugin .. I added paypel and robokassa to the WOO store ... But I also want to close the bulletin board to the robokassa - I thought it would be easier to close to the store ..
That is . so that the payment for changing the status (for highlighting the ad) goes through the basket and, accordingly, the robokassa and paypel ...
How can changing the status of an ad change the ad to the status of a product, and so that this new product gets into the basket?
Or in this case, the only correct option would be to tie the second robokassa to the payment for raising the ad? ... and that's it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WordPress WooCommerce, 2017-08-26
@maxxannik

I think given the level of development of your team - no way.
If you raise the level, you can do this:
1. On the site with Woo, make a product with the "ad number" option
2. Add a REST interface with the transfer of the necessary data, which will twitch from the ad
3. After payment, view the product and the ad number and through REST API to pull the state of the announcement
If these are different sites, then all changes can be made through the REST API. If this is one site, then the WP API is enough.
But junior and middle will most likely not be able to cope with such a task. Need a senor. And the senior wordpressers in the Russian Federation can be counted on the fingers :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question