Answer the question
In order to leave comments, you need to log in
Functioning of the PayPal sandbox?
Good day! Tell me, is the PayPal sandbox currently operating normally? that test payments do not pass. and if it doesn’t work, what do they say and how to be how to check payments?
And tell me please, did I really need a sandbox so that the structure of the answer could be felt? payment_was_successful signals like this come in. Do I need to extract the record ID from there and take the necessary actions with it? Tell me how to get it out of there in the direction of PayPal, a dictionary is formed like
paypal_dict = {
'business': settings.PAYPAL_RECEIVER_EMAIL,
'amount': amount,
'item_name': 'Bay STP club-kart(plan %s) %s Transaction #%s' % (plan.name, amount, record.id),
'invoice': str(record.id),
'currency_code': 'EUR',
'notify_url': 'http://{}{}'.format(host, reverse('paypal-ipn')),
'return_url': 'http://{}{}'.format(host, reverse('billing:done')),
'cancel_return': 'http//{}{}'.format(host, reverse('billing:canceled'))
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question